summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/acme/default.nix
blob: cf693f17b4d91bbba8b0e67149fc2997c36c44e9 (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
32
33
34
35
36
37
38
39
{
  buildPythonPackage,
  certbot,
  cryptography,
  pyopenssl,
  pyrfc3339,
  josepy,
  requests,
  setuptools,
}:

buildPythonPackage rec {
  pname = "acme";
  inherit (certbot) version src;
  pyproject = true;

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

  build-system = [
    setuptools
  ];

  dependencies = [
    cryptography
    pyopenssl
    pyrfc3339
    requests
    josepy
  ];

  # does not contain any tests
  doCheck = false;

  pythonImportsCheck = [ "acme" ];

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