mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.certbot: 5.4.0 -> 5.6.0 (#508197)
This commit is contained in:
commit
5d7b849458
3 changed files with 17 additions and 18 deletions
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
buildPythonPackage,
|
||||
acme,
|
||||
certbot,
|
||||
pyparsing,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
|
|
@ -18,16 +16,13 @@ buildPythonPackage rec {
|
|||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
acme
|
||||
certbot
|
||||
pyparsing
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pytestFlags = [
|
||||
"-pno:cacheprovider"
|
||||
"-Wignore::DeprecationWarning"
|
||||
pythonImportsCheck = [
|
||||
"certbot_nginx"
|
||||
"certbot.plugins.nginx"
|
||||
];
|
||||
|
||||
meta = certbot.meta // {
|
||||
|
|
|
|||
|
|
@ -22,19 +22,19 @@
|
|||
writeShellScriptBin,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "certbot";
|
||||
version = "5.4.0";
|
||||
version = "5.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "certbot";
|
||||
repo = "certbot";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Tu46Wybod89TiwsVccNuQcweWoeQE1wbH+pDWNC9+kE=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-knaEk4bjC0cdnMiO4ENvaDm/i/3tn6ZOJPdyqJxLKOs=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/certbot";
|
||||
sourceRoot = "${finalAttrs.src.name}/certbot";
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
|
|
@ -87,9 +87,9 @@ buildPythonPackage rec {
|
|||
let
|
||||
pythonEnv = python.withPackages f;
|
||||
in
|
||||
runCommand "certbot-with-plugins-${version}"
|
||||
runCommand "certbot-with-plugins-${finalAttrs.version}"
|
||||
{
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
}
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
|
|
@ -99,11 +99,11 @@ buildPythonPackage rec {
|
|||
|
||||
meta = {
|
||||
homepage = "https://github.com/certbot/certbot";
|
||||
changelog = "https://github.com/certbot/certbot/blob/${src.tag}/certbot/CHANGELOG.md";
|
||||
changelog = "https://github.com/certbot/certbot/blob/${finalAttrs.src.tag}/certbot/CHANGELOG.md";
|
||||
description = "ACME client that can obtain certs and extensibly update server configurations";
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "certbot";
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [ miniharinn ];
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -50,6 +50,10 @@ buildPythonPackage (finalAttrs: {
|
|||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"acme"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
acme
|
||||
aiohttp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue