nixpkgs/pkgs/by-name/ma/mangareader/package.nix

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

54 lines
1.0 KiB
Nix
Raw Normal View History

2024-05-30 15:49:28 +00:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
kdePackages,
nix-update-script,
2022-07-16 04:47:37 +00:00
}:
stdenv.mkDerivation rec {
pname = "mangareader";
2024-05-30 15:49:28 +00:00
version = "2.2.1";
2022-07-16 04:47:37 +00:00
src = fetchFromGitHub {
owner = "g-fb";
2024-05-30 15:49:28 +00:00
repo = "mangareader";
2022-07-16 04:47:37 +00:00
rev = version;
2024-05-30 15:49:28 +00:00
hash = "sha256-XX0VaXVYmAs5vmgwslflKIYx1peITp4VmReLkv1nV3I=";
2022-07-16 04:47:37 +00:00
};
nativeBuildInputs = [
cmake
2024-05-30 15:49:28 +00:00
kdePackages.extra-cmake-modules
kdePackages.wrapQtAppsHook
2022-07-16 04:47:37 +00:00
];
2024-05-30 15:49:28 +00:00
buildInputs = with kdePackages; [
qtbase
2022-07-16 04:47:37 +00:00
kio
ki18n
kxmlgui
kconfig
karchive
kcoreaddons
kconfigwidgets
2024-08-10 15:21:01 +00:00
qtwayland
2022-07-16 04:47:37 +00:00
];
passthru.updateScript = nix-update-script { };
2022-07-16 04:47:37 +00:00
2024-05-30 15:49:28 +00:00
meta = {
2022-07-16 04:47:37 +00:00
description = "Qt manga reader for local files";
homepage = "https://github.com/g-fb/mangareader";
changelog = "https://github.com/g-fb/mangareader/releases/tag/${src.rev}";
2024-05-30 15:49:28 +00:00
mainProgram = "mangareader";
platforms = lib.platforms.linux;
license = with lib.licenses; [
gpl3Plus
cc-by-sa-40
];
maintainers = with lib.maintainers; [ zendo ];
2022-07-16 04:47:37 +00:00
};
}