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