depot/third_party/nixpkgs/pkgs/development/python-modules/pagelabels/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

29 lines
585 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pdfrw,
}:
buildPythonPackage rec {
pname = "pagelabels";
version = "1.2.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-GAEyhECToKnIWBxnYTSOsYKZBjl50b/82mZ68i8I2ug=";
};
buildInputs = [ pdfrw ];
# upstream doesn't contain tests
doCheck = false;
meta = with lib; {
description = "Python library to manipulate PDF page labels";
homepage = "https://github.com/lovasoa/pagelabels-py";
maintainers = with maintainers; [ teto ];
license = licenses.gpl3;
};
}