summary refs log tree commit diff
path: root/pkgs/development/python-modules/pdfrw/default.nix
blob: 49abb3751c910c29da286b7eb6c4ba8f4e4fbc2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenv, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
  pname = "pdfrw";
  version = "0.4";

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