about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/acme/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/acme/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/acme/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/acme/default.nix b/nixpkgs/pkgs/development/python-modules/acme/default.nix
new file mode 100644
index 000000000000..e9156b5c6af1
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/acme/default.nix
@@ -0,0 +1,35 @@
+{ buildPythonPackage
+, certbot
+, pytest
+, cryptography
+, pyasn1
+, pyopenssl
+, pyRFC3339
+, josepy
+, pytz
+, requests
+, requests-toolbelt
+, six
+, werkzeug
+, mock
+, ndg-httpsclient
+}:
+
+buildPythonPackage rec {
+  inherit (certbot) src version;
+
+  pname = "acme";
+
+  propagatedBuildInputs = [
+    cryptography pyasn1 pyopenssl pyRFC3339 pytz requests requests-toolbelt six
+    werkzeug mock ndg-httpsclient josepy
+  ];
+
+  checkInputs = [ pytest ];
+
+  sourceRoot = "source/${pname}";
+
+  meta = certbot.meta // {
+    description = "ACME protocol implementation in Python";
+  };
+}