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
|
2016-10-17 10:32:05 +01:00
|
|
|
}:
|
|
|
|
|
2020-02-28 10:52:56 +00:00
|
|
|
mkDerivation rec {
|
2016-10-17 10:32:05 +01:00
|
|
|
pname = "peruse";
|
2020-02-28 10:52:56 +00:00
|
|
|
version = "1.2.20200208";
|
2016-10-17 10:32:05 +01:00
|
|
|
|
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
|
|
|
};
|
2016-10-17 10:32:05 +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" ];
|
2016-10-17 10:32:05 +01:00
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
meta = with lib; {
|
2019-11-10 07:00:23 +00:00
|
|
|
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 ];
|
2016-10-17 10:32:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|