nixpkgs-suyu/pkgs/development/python-modules/pdfrw/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

22 lines
577 B
Nix

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