about summary refs log tree commit diff
path: root/pkgs/development/python-modules/acme/default.nix
blob: 0b3ad8d27480013279bc08057870cd06fd064f92 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  buildPythonPackage,
  certbot,
  cryptography,
  pyasn1,
  pyopenssl,
  pyrfc3339,
  josepy,
  pytz,
  requests,
  requests-toolbelt,
  six,
  werkzeug,
  ndg-httpsclient,
}:

buildPythonPackage rec {
  inherit (certbot) src version;

  pname = "acme";
  format = "setuptools";

  propagatedBuildInputs = [
    cryptography
    pyasn1
    pyopenssl
    pyrfc3339
    pytz
    requests
    requests-toolbelt
    six
    werkzeug
    ndg-httpsclient
    josepy
  ];

  # does not contain any tests
  doCheck = false;
  pythonImportsCheck = [ "acme" ];

  sourceRoot = "${src.name}/${pname}";

  meta = certbot.meta // {
    description = "ACME protocol implementation in Python";
  };
}