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