Merge pull request #70784 from symphorien/pdfarranger
pdfarranger: init at 1.3.1
This commit is contained in:
commit
ec760828d9
44
pkgs/applications/misc/pdfarranger/default.nix
Normal file
44
pkgs/applications/misc/pdfarranger/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, lib
|
||||||
|
, wrapGAppsHook, intltool
|
||||||
|
, python3Packages, gtk3, poppler_gi
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "pdfarranger";
|
||||||
|
version = "1.3.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jeromerobert";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1f8m8r81322i97wkqpmf7a4kiwnq244n6cnbldh03jc49vwq2kxx";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
wrapGAppsHook intltool
|
||||||
|
] ++ (with python3Packages; [
|
||||||
|
setuptools distutils_extra
|
||||||
|
]);
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gtk3 poppler_gi
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
pygobject3
|
||||||
|
pypdf2
|
||||||
|
];
|
||||||
|
|
||||||
|
# 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;
|
||||||
|
};
|
||||||
|
}
|
@ -5486,6 +5486,8 @@ in
|
|||||||
|
|
||||||
jbig2enc = callPackage ../tools/graphics/jbig2enc { };
|
jbig2enc = callPackage ../tools/graphics/jbig2enc { };
|
||||||
|
|
||||||
|
pdfarranger = callPackage ../applications/misc/pdfarranger { };
|
||||||
|
|
||||||
pdfread = callPackage ../tools/graphics/pdfread {
|
pdfread = callPackage ../tools/graphics/pdfread {
|
||||||
inherit (pythonPackages) pillow;
|
inherit (pythonPackages) pillow;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user