1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/tools/misc/peruse/default.nix

58 lines
1,011 B
Nix
Raw Normal View History

2020-02-28 10:52:56 +00:00
{ mkDerivation
, fetchFromGitHub
, lib
, extra-cmake-modules
, kdoctools
, wrapGAppsHook
, baloo
, karchive
, kconfig
, kcrash
, kfilemetadata
, kinit
, kirigami2
, knewstuff
, plasma-framework
}:
2020-02-28 10:52:56 +00:00
mkDerivation rec {
pname = "peruse";
2020-02-28 10:52:56 +00:00
version = "1.2.20200208";
2018-04-16 09:14:26 +01:00
# The last formal release from 2016 uses kirigami1 which is deprecated
src = fetchFromGitHub {
2020-02-28 10:52:56 +00:00
owner = "KDE";
repo = pname;
rev = "4a1b3f954d2fe7e4919c0c5dbee1917776da582e";
sha256 = "1s5yy240x4cvrk93acygnrp5m10xp7ln013gdfbm0r5xvd8xy19k";
2017-05-16 16:56:41 +01:00
};
2020-02-28 10:52:56 +00:00
nativeBuildInputs = [
extra-cmake-modules
kdoctools
wrapGAppsHook
];
propagatedBuildInputs = [
baloo
karchive
kconfig
kcrash
kfilemetadata
kinit
kirigami2
knewstuff
plasma-framework
];
pathsToLink = [ "/etc/xdg/peruse.knsrc" ];
2017-05-16 16:56:41 +01:00
meta = with lib; {
description = "A comic book reader";
2020-02-28 10:52:56 +00:00
homepage = "https://peruse.kde.org";
2017-05-16 16:56:41 +01:00
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
};
}