pythonPackages.pyPdf: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-26 11:19:53 -04:00
committed by Frederik Rietdijk
parent 0ea426c1e8
commit 49ccf24626
2 changed files with 26 additions and 19 deletions

View 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;
};
}