depot/third_party/nixpkgs/pkgs/development/python-modules/pdfrw/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
582 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "pdfrw";
version = "0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1x1yp63lg3jxpg9igw8lh5rc51q353ifsa1bailb4qb51r54kh0d";
};
# tests require the extra download of github.com/pmaupin/static_pdfs
doCheck = false;
meta = with 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;
};
}