Skip to content

Commit

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

buildPythonPackage rec {
pname = "pagelabels";
version = "1.2.0";

src = fetchPypi {
inherit pname version;
sha256 = "07as5kzyvj66bfgvx8bph8gkyj6cgm4lhgxwb78bpdl4m8y8kpma";
};

buildInputs = [ pdfrw ];

# upstream doesn't contain tests
doCheck = false;

meta = with stdenv.lib; {
description = "Python library to manipulate PDF page labels.";
homepage = "https://github.com/lovasoa/pagelabels-py";
maintainers = with maintainers; [ teto ];
license = licenses.gpl3;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4825,6 +4825,8 @@ in {

paho-mqtt = callPackage ../development/python-modules/paho-mqtt { };

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

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

parsedatetime = callPackage ../development/python-modules/parsedatetime { };
Expand Down

0 comments on commit c881dd5

Please sign in to comment.