Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: eb7a680d9691
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ec760828d979
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 9, 2019

  1. Copy the full SHA
    226207d View commit details

Commits on Oct 20, 2019

  1. Merge pull request #70784 from symphorien/pdfarranger

    pdfarranger: init at 1.3.1
    Ekleog authored Oct 20, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ec76082 View commit details
Showing with 46 additions and 0 deletions.
  1. +44 −0 pkgs/applications/misc/pdfarranger/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
44 changes: 44 additions & 0 deletions pkgs/applications/misc/pdfarranger/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -5486,6 +5486,8 @@ in

jbig2enc = callPackage ../tools/graphics/jbig2enc { };

pdfarranger = callPackage ../applications/misc/pdfarranger { };

pdfread = callPackage ../tools/graphics/pdfread {
inherit (pythonPackages) pillow;
};