summary refs log tree commit diff
path: root/pkgs/development/python-modules/acme/default.nix
blob: 503c6f796591a5f34d8087f722874317bc9e93a7 (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
{ buildPythonPackage
, certbot
, nose
, cryptography
, pyasn1
, pyopenssl
, pyRFC3339
, josepy
, pytz
, requests
, six
, werkzeug
, mock
, ndg-httpsclient
}:

buildPythonPackage rec {
  inherit (certbot) src version;

  pname = "acme";

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

  checkInputs = [ nose ];

  postUnpack = "sourceRoot=\${sourceRoot}/acme";

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