2016-10-17 10:32:05 +01:00
|
|
|
{
|
2018-07-21 01:44:44 +01:00
|
|
|
mkDerivation, fetchFromGitHub, lib,
|
2017-05-16 16:56:41 +01:00
|
|
|
extra-cmake-modules, kdoctools, wrapGAppsHook,
|
2018-04-16 09:14:26 +01:00
|
|
|
baloo, karchive, kconfig, kcrash, kfilemetadata, kinit, kirigami2, knewstuff, plasma-framework
|
2016-10-17 10:32:05 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "peruse";
|
2018-08-20 04:31:53 +01:00
|
|
|
version = "1.2.20180816";
|
2018-04-16 09:14:26 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
in mkDerivation {
|
2017-05-16 16:56:41 +01:00
|
|
|
name = "${pname}-${version}";
|
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 {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = pname;
|
2018-08-20 04:31:53 +01:00
|
|
|
rev = "f50027c6c9c680c4e2ce1dba4ec43364e661e7a3";
|
|
|
|
sha256 = "1217fa6w9ryh499agcc67mnp8k9dah4r0sw74qzsbk4p154jbgch";
|
2017-05-16 16:56:41 +01:00
|
|
|
};
|
2016-10-17 10:32:05 +01:00
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
2016-12-30 02:00:30 +00:00
|
|
|
|
2018-04-16 09:14:26 +01:00
|
|
|
propagatedBuildInputs = [ baloo karchive kconfig kcrash kfilemetadata kinit kirigami2 knewstuff plasma-framework ];
|
2016-10-17 10:32:05 +01:00
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
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
|
|
|
homepage = "https://peruse.kde.org";
|
|
|
|
description = "A comic book reader";
|
2017-05-16 16:56:41 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2016-10-17 10:32:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|