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