2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pdfrw,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pagelabels";
|
|
|
|
version = "1.2.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "07as5kzyvj66bfgvx8bph8gkyj6cgm4lhgxwb78bpdl4m8y8kpma";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pdfrw ];
|
|
|
|
|
|
|
|
# upstream doesn't contain tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Python library to manipulate PDF page labels";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/lovasoa/pagelabels-py";
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|