1{ lib, buildPythonPackage, fetchPypi, pdfrw }:
2
3buildPythonPackage rec {
4 pname = "pagelabels";
5 version = "1.2.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "07as5kzyvj66bfgvx8bph8gkyj6cgm4lhgxwb78bpdl4m8y8kpma";
10 };
11
12 buildInputs = [ pdfrw ];
13
14 # upstream doesn't contain tests
15 doCheck = false;
16
17 meta = with lib; {
18 description = "Python library to manipulate PDF page labels.";
19 homepage = "https://github.com/lovasoa/pagelabels-py";
20 maintainers = with maintainers; [ teto ];
21 license = licenses.gpl3;
22 };
23}