Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
1.0 KiB
Nix
Raw Permalink Normal View History

2024-08-14 21:17:43 +01:00
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
2025-01-16 18:43:04 -08:00
dbus,
2024-08-14 21:17:43 +01:00
openssl,
2025-03-11 09:21:13 +00:00
perl,
cacert,
2024-11-03 00:08:47 -07:00
nix-update-script,
2024-08-14 21:17:43 +01:00
}:
let
2025-06-22 02:33:35 +00:00
version = "0.8.1";
2024-08-14 21:17:43 +01:00
in
rustPlatform.buildRustPackage {
pname = "manga-tui";
inherit version;
src = fetchFromGitHub {
owner = "josueBarretogit";
repo = "manga-tui";
rev = "v${version}";
2025-06-22 02:33:35 +00:00
hash = "sha256-CAmXTAUlwdc4iGzXonoYPd1okqgA4hWgR9bnsPsuDus=";
2024-08-14 21:17:43 +01:00
};
2025-06-22 02:33:35 +00:00
cargoHash = "sha256-viiL1LcBbWuKA+jgkAPc9gpI7wQu4UXfO5DSPm26ido=";
2024-08-14 21:17:43 +01:00
nativeBuildInputs = [ pkg-config ];
2025-03-11 09:21:13 +00:00
buildInputs = [
dbus
(lib.getDev openssl)
];
checkInputs = [
perl
cacert
];
2024-08-14 21:17:43 +01:00
meta = {
description = "Terminal-based manga reader and downloader with image support";
homepage = "https://github.com/josueBarretogit/manga-tui";
changelog = "https://github.com/josueBarretogit/manga-tui/releases/tag/v${version}";
license = lib.licenses.mit;
2024-11-01 23:57:28 -07:00
maintainers = with lib.maintainers; [
isabelroses
youwen5
];
2024-08-14 21:17:43 +01:00
mainProgram = "manga-tui";
};
2024-11-03 00:08:47 -07:00
passthru.updateScript = nix-update-script { };
2024-08-14 21:17:43 +01:00
}