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