git.iko.soy/typeable/nixpkgs
on master help sign in
pdfarranger: init at 1.3.1
commit226207d7b1947e9706a3ca8c7307e2d503f5b56a authorSymphorien Gibol <symphorien+git@xlumurb.eu> dateTue 8 Oct 2019, 12:00 (7 years ago) parent07d4df5
2 files changed+46
pkgs/applications/misc/pdfarranger/default.nix+44 pkgs/top-level/all-packages.nix+2
pkgs/applications/misc/pdfarranger/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{ stdenv, fetchFromGitHub, lib
2+, wrapGAppsHook, intltool
3+, python3Packages, gtk3, poppler_gi
4+}:
5+
6+python3Packages.buildPythonApplication rec {
7+ pname = "pdfarranger";
8+ version = "1.3.1";
9+
10+ src = fetchFromGitHub {
11+ owner = "jeromerobert";
12+ repo = pname;
13+ rev = version;
14+ sha256 = "1f8m8r81322i97wkqpmf7a4kiwnq244n6cnbldh03jc49vwq2kxx";
15+ };
16+
17+ nativeBuildInputs = [
18+ wrapGAppsHook intltool
19+ ] ++ (with python3Packages; [
20+ setuptools distutils_extra
21+ ]);
22+
23+ buildInputs = [
24+ gtk3 poppler_gi
25+ ];
26+
27+ propagatedBuildInputs = with python3Packages; [
28+ pygobject3
29+ pypdf2
30+ ];
31+
32+ # incompatible with wrapGAppsHook
33+ strictDeps = false;
34+
35+ doCheck = false; # no tests
36+
37+ meta = with lib; {
38+ inherit (src.meta) homepage;
39+ description = "Merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface";
40+ platforms = platforms.linux;
41+ maintainers = with maintainers; [ symphorien ];
42+ license = licenses.gpl3;
43+ };
44+}
pkgs/top-level/all-packages.nix+2
@@ -5448,6 +5448,8 @@ in
54485448
54495449 jbig2enc = callPackage ../tools/graphics/jbig2enc { };
54505450
5451+ pdfarranger = callPackage ../applications/misc/pdfarranger { };
5452+
54515453 pdfread = callPackage ../tools/graphics/pdfread {
54525454 inherit (pythonPackages) pillow;
54535455 };