Skip to content

Commit

Permalink
pythonPackages.pdfrw: init at 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
teto committed Apr 17, 2020
1 parent 4fdc455 commit c0a498b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pkgs/development/python-modules/pdfrw/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
pname = "pdfrw";
version = "0.4";

src = fetchPypi {
inherit pname version;
sha256 = "1x1yp63lg3jxpg9igw8lh5rc51q353ifsa1bailb4qb51r54kh0d";
};

# tests require the extra download of github.com/pmaupin/static_pdfs
doCheck = false;

meta = with stdenv.lib; {
description = "pdfrw is a pure Python library that reads and writes PDFs.";
homepage = "https://github.com/pmaupin/pdfrw";
maintainers = with maintainers; [ teto ];
license = licenses.mit;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4896,6 +4896,8 @@ in {

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

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

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

pgcli = callPackage ../development/tools/database/pgcli {};
Expand Down

0 comments on commit c0a498b

Please sign in to comment.