1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00

Merge pull request #287613 from dotlambda/certbot-2.9.0

python311Packages.certbot: 2.7.4 -> 2.9.0
This commit is contained in:
Robert Schütz 2024-02-13 19:49:02 +00:00 committed by GitHub
commit b59503a40e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,18 +27,22 @@
buildPythonPackage rec {
pname = "certbot";
version = "2.7.4";
format = "setuptools";
version = "2.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = pname;
repo = pname;
owner = "certbot";
repo = "certbot";
rev = "refs/tags/v${version}";
hash = "sha256-BZ7JqAciwbmkpbzR/qZHAraLJWWXNRN3Er4XvfU5kYs=";
hash = "sha256-yYB9Y0wniRgzNk5XatkjKayIPj7ienXsqOboKPwzIfk=";
};
sourceRoot = "${src.name}/${pname}";
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
configargparse
acme
@ -48,12 +52,7 @@ buildPythonPackage rec {
josepy
parsedatetime
pyrfc3339
pyopenssl
pytz
requests
six
zope-component
zope-interface
setuptools # for pkg_resources
];
@ -67,13 +66,8 @@ buildPythonPackage rec {
pytestFlagsArray = [
"-o cache_dir=$(mktemp -d)"
# See https://github.com/certbot/certbot/issues/8746
"-W ignore::ResourceWarning"
"-W ignore::DeprecationWarning"
];
doCheck = true;
makeWrapperArgs = [ "--prefix PATH : ${dialog}/bin" ];
# certbot.withPlugins has a similar calling convention as python*.withPackages
@ -92,9 +86,11 @@ buildPythonPackage rec {
'';
meta = with lib; {
homepage = src.meta.homepage;
homepage = "https://github.com/certbot/certbot";
changelog = "https://github.com/certbot/certbot/blob/${src.rev}/certbot/CHANGELOG.md";
description = "ACME client that can obtain certs and extensibly update server configurations";
platforms = platforms.unix;
mainProgram = "certbot";
maintainers = with maintainers; [ domenkozar ];
license = with licenses; [ asl20 ];
};