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: 1b0d8015fe04
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5fbab6dabbc8
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Apr 18, 2020

  1. pythonPackages.pdfposter init at 0.7.post1 (#82926)

    Signed-off-by: Markus S. Wamser <github-dev@mail2013.wamser.eu>
    wamserma authored Apr 18, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5fbab6d View commit details
Showing with 22 additions and 0 deletions.
  1. +20 −0 pkgs/development/python-modules/pdfposter/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
20 changes: 20 additions & 0 deletions pkgs/development/python-modules/pdfposter/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, pypdf2 }:

buildPythonPackage rec {
pname = "pdftools.pdfposter";
version = "0.7.post1";

propagatedBuildInputs = [ pypdf2 ];

src = fetchPypi {
inherit pname version;
sha256 = "0c1avpbr9q53yzq5ar2x485rmp9d0l3z27aham32bg7gplzd7w0j";
};

meta = with stdenv.lib; {
description = "Split large pages of a PDF into smaller ones for poster printing";
homepage = "https://pdfposter.readthedocs.io";
license = licenses.gpl3;
maintainers = with maintainers; [ wamserma ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1025,6 +1025,8 @@ in {

pdfminer = callPackage ../development/python-modules/pdfminer_six { };

pdfposter = callPackage ../development/python-modules/pdfposter { };

pdftotext = callPackage ../development/python-modules/pdftotext { };

pdfx = callPackage ../development/python-modules/pdfx { };