mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
36 lines
521 B
Nix
36 lines
521 B
Nix
{ 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";
|
|
};
|
|
}
|