diff options
author | Antoine Viallon <antoine@lesviallon.fr> | 2023-09-15 23:02:31 +0200 |
---|---|---|
committer | Antoine Viallon <antoine@lesviallon.fr> | 2023-09-29 08:51:57 +0200 |
commit | ae98fb4f90a8001b0d8ef94bbf1f21837ca010bf (patch) | |
tree | a32fa029fc02a8af98dbb47675cf14288b71cc4b | |
parent | f99f2a1a483bd90be4f623dc8e7fae2479218947 (diff) | |
download | nixpkgs-ae98fb4f90a8001b0d8ef94bbf1f21837ca010bf.tar nixpkgs-ae98fb4f90a8001b0d8ef94bbf1f21837ca010bf.tar.gz nixpkgs-ae98fb4f90a8001b0d8ef94bbf1f21837ca010bf.tar.bz2 nixpkgs-ae98fb4f90a8001b0d8ef94bbf1f21837ca010bf.tar.lz nixpkgs-ae98fb4f90a8001b0d8ef94bbf1f21837ca010bf.tar.xz nixpkgs-ae98fb4f90a8001b0d8ef94bbf1f21837ca010bf.tar.zst nixpkgs-ae98fb4f90a8001b0d8ef94bbf1f21837ca010bf.zip |
python3Packages.certbot-dns-ovh: init at 2.6.0 (follows certbot)
3 files changed, 44 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/certbot-dns-ovh/default.nix b/pkgs/development/python-modules/certbot-dns-ovh/default.nix new file mode 100644 index 00000000000..da0dd57cff8 --- /dev/null +++ b/pkgs/development/python-modules/certbot-dns-ovh/default.nix @@ -0,0 +1,39 @@ +{ buildPythonPackage +, acme +, certbot +, dns-lexicon +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "certbot-dns-ovh"; + + inherit (certbot) src version; + disabled = pythonOlder "3.6"; + + sourceRoot = "${src.name}/certbot-dns-ovh"; + + propagatedBuildInputs = [ + acme + certbot + dns-lexicon + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pytestFlagsArray = [ + "-o cache_dir=$(mktemp -d)" + + # Monitor https://github.com/certbot/certbot/issues/9606 for a solution + "-W 'ignore:pkg_resources is deprecated as an API:DeprecationWarning'" + "-W 'ignore:Package lexicon.providers is deprecated and will be removed in Lexicon 4>=.:DeprecationWarning'" + "-W 'ignore:Legacy configuration object has been used to load the ConfigResolver.:DeprecationWarning'" + ]; + + meta = certbot.meta // { + description = "OVH DNS Authenticator plugin for Certbot"; + }; +} diff --git a/pkgs/development/tools/poetry2nix/poetry2nix/overrides/build-systems.json b/pkgs/development/tools/poetry2nix/poetry2nix/overrides/build-systems.json index 04174d1c435..2e859c6ddbf 100644 --- a/pkgs/development/tools/poetry2nix/poetry2nix/overrides/build-systems.json +++ b/pkgs/development/tools/poetry2nix/poetry2nix/overrides/build-systems.json @@ -2732,6 +2732,9 @@ "certbot-dns-inwx": [ "setuptools" ], + "certbot-dns-ovh": [ + "setuptools" + ], "certbot-dns-rfc2136": [ "setuptools" ], diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cc01b17e6d1..abf3cb37e9f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1853,8 +1853,9 @@ self: super: with self; { certbot-dns-inwx = callPackage ../development/python-modules/certbot-dns-inwx { }; - certbot-dns-rfc2136 = callPackage ../development/python-modules/certbot-dns-rfc2136 { }; + certbot-dns-ovh = callPackage ../development/python-modules/certbot-dns-ovh { }; + certbot-dns-rfc2136 = callPackage ../development/python-modules/certbot-dns-rfc2136 { }; certbot-dns-route53 = callPackage ../development/python-modules/certbot-dns-route53 { }; |