aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix b/nixpkgs/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix
new file mode 100644
index 00000000000..19e53aa20cc
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/certbot-dns-rfc2136/default.nix
@@ -0,0 +1,35 @@
+{ buildPythonPackage
+, acme
+, certbot
+, dnspython
+, isPy3k
+, pytest
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+ inherit (certbot) src version;
+
+ pname = "certbot-dns-rfc2136";
+
+ propagatedBuildInputs = [
+ acme
+ certbot
+ dnspython
+ ];
+
+ checkInputs = [
+ pytest
+ pytestCheckHook
+ ];
+
+ disabled = !isPy3k;
+
+ pytestFlagsArray = [ "-o cache_dir=$(mktemp -d)" ];
+
+ sourceRoot = "source/${pname}";
+
+ meta = certbot.meta // {
+ description = "RFC 2136 DNS Authenticator plugin for Certbot";
+ };
+}