python3Packages.nvchecker: 2.20 -> 2.21

Co-authored-by: Michael Daniels <mdaniels5757@gmail.com>
This commit is contained in:
R. Ryantm
2026-07-17 19:36:16 -04:00
committed by Michael Daniels
co-authored by Michael Daniels
parent 0b70dd4a2c
commit e8638ad0b5
@@ -2,7 +2,9 @@
lib,
awesomeversion,
buildPythonPackage,
cacert,
docutils,
dulwich,
fetchFromGitHub,
flaky,
installShellFiles,
@@ -12,6 +14,7 @@
packaging,
platformdirs,
pycurl,
pygit2,
pytest-asyncio,
pytestCheckHook,
pytest-httpbin,
@@ -22,16 +25,16 @@
zstandard,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "nvchecker";
version = "2.20";
version = "2.21";
pyproject = true;
src = fetchFromGitHub {
owner = "lilydjwg";
repo = "nvchecker";
tag = "v${version}";
hash = "sha256-udwflm3C7C6Q7rSA0x0+8uf1F5quy2okf2IyZqKtA3E=";
tag = "v${finalAttrs.version}";
hash = "sha256-XQrroiuDM9ISmfQLUbYIAzBOSYtO6q1MXqMfC3X8BUI=";
};
__darwinAllowLocalNetworking = true;
@@ -57,6 +60,12 @@ buildPythonPackage rec {
htmlparser = [ lxml ];
rpmrepo = [ lxml ] ++ lib.optionals (pythonOlder "3.14") [ zstandard ];
jq = [ jq ];
git_pygit2 = [ pygit2 ];
git_dulwich = [ dulwich ];
};
env = lib.optionalAttrs finalAttrs.doInstallCheck {
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
};
nativeCheckInputs = [
@@ -64,7 +73,8 @@ buildPythonPackage rec {
pytest-asyncio
pytest-httpbin
pytestCheckHook
];
]
++ builtins.concatLists (builtins.attrValues finalAttrs.passthru.optional-dependencies);
postBuild = ''
patchShebangs docs/myrst2man.py
@@ -84,8 +94,8 @@ buildPythonPackage rec {
meta = {
description = "New version checker for software";
homepage = "https://github.com/lilydjwg/nvchecker";
changelog = "https://github.com/lilydjwg/nvchecker/releases/tag/${src.tag}";
changelog = "https://github.com/lilydjwg/nvchecker/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mdaniels5757 ];
};
}
})