2019-10-08 13:00:00 +01:00
|
|
|
{ stdenv, fetchFromGitHub, lib
|
|
|
|
, wrapGAppsHook, intltool
|
|
|
|
, python3Packages, gtk3, poppler_gi
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "pdfarranger";
|
2020-05-17 13:00:00 +01:00
|
|
|
version = "1.5.3";
|
2019-10-08 13:00:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jeromerobert";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-17 13:00:00 +01:00
|
|
|
sha256 = "0a9ap7p8iw57sn5nmhim7gp5as8gj6ir6l3p0bpmg4iqjsr4169h";
|
2019-10-08 13:00:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
wrapGAppsHook intltool
|
|
|
|
] ++ (with python3Packages; [
|
|
|
|
setuptools distutils_extra
|
|
|
|
]);
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3 poppler_gi
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pygobject3
|
2020-04-11 13:00:00 +01:00
|
|
|
pikepdf
|
|
|
|
setuptools
|
2019-10-08 13:00:00 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
# incompatible with wrapGAppsHook
|
|
|
|
strictDeps = false;
|
|
|
|
|
|
|
|
doCheck = false; # no tests
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ symphorien ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|