mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
22 lines
562 B
Nix
22 lines
562 B
Nix
|
{ 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 stdenv.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;
|
||
|
};
|
||
|
}
|