summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pagelabels/default.nix
blob: cd7a1315e74d6709eb10d98f7285bad4119a04f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pdfrw,
}:

buildPythonPackage (finalAttrs: {
  pname = "pagelabels";
  version = "1.2.1";
  format = "setuptools";

  src = fetchPypi {
    inherit (finalAttrs) pname version;
    sha256 = "sha256-GAEyhECToKnIWBxnYTSOsYKZBjl50b/82mZ68i8I2ug=";
  };

  dependencies = [
    pdfrw
  ];

  # upstream doesn't contain tests
  doCheck = false;

  meta = {
    description = "Python library to manipulate PDF page labels";
    homepage = "https://github.com/lovasoa/pagelabels-py";
    maintainers = with lib.maintainers; [ teto ];
    license = lib.licenses.gpl3;
  };
})