about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pdfrw/default.nix
blob: d5c889185d0fe24254079e7b773c138e655067d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  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;
  };
}