1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "pdfrw";
5 version = "0.4";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1x1yp63lg3jxpg9igw8lh5rc51q353ifsa1bailb4qb51r54kh0d";
10 };
11
12 # tests require the extra download of github.com/pmaupin/static_pdfs
13 doCheck = false;
14
15 meta = with lib; {
16 description = "pdfrw is a pure Python library that reads and writes PDFs.";
17 homepage = "https://github.com/pmaupin/pdfrw";
18 maintainers = with maintainers; [ teto ];
19 license = licenses.mit;
20 };
21}