Merge pull request #255362 from aviallon/feature/init-certbot-dns-ovh

python3Packages.certbot-dns-ovh: init at 2.6.0 (follows python3Packages.certbot)
This commit is contained in:
Aaron Andersen 2023-10-20 17:40:44 -04:00 committed by GitHub
commit 8b9569a1fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 2 deletions

View file

@ -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";
};
}

View file

@ -2732,6 +2732,9 @@
"certbot-dns-inwx": [
"setuptools"
],
"certbot-dns-ovh": [
"setuptools"
],
"certbot-dns-rfc2136": [
"setuptools"
],

View file

@ -20840,6 +20840,8 @@ with pkgs;
certbot-full = certbot.withPlugins (cp: with cp; [
certbot-dns-cloudflare
certbot-dns-google
certbot-dns-ovh
certbot-dns-rfc2136
certbot-dns-route53
]);

View file

@ -1876,11 +1876,13 @@ self: super: with self; {
certbot-dns-cloudflare = callPackage ../development/python-modules/certbot-dns-cloudflare { };
certbot-dns-google = callPackage ../development/python-modules/certbot-dns-google { };
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-google = callPackage ../development/python-modules/certbot-dns-google { };
certbot-dns-rfc2136 = callPackage ../development/python-modules/certbot-dns-rfc2136 { };
certbot-dns-route53 = callPackage ../development/python-modules/certbot-dns-route53 { };