pythonPackages.pyPdf: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
0ea426c1e8
commit
49ccf24626
25
pkgs/development/python-modules/pypdf/default.nix
Normal file
25
pkgs/development/python-modules/pypdf/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyPdf";
|
||||
version = "1.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3aede4c3c9c6ad07c98f059f90db0b09ed383f7c791c46100f649e1cabda0e3b";
|
||||
};
|
||||
|
||||
# Not supported. Package is no longer maintained.
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pure-Python PDF toolkit";
|
||||
homepage = "http://pybrary.net/pyPdf/";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user