Mario Rodas 2024-04-18 04:20:00 +00:00
parent 3d06f73179
commit b7a969f253
1 changed files with 9 additions and 3 deletions

View File

@ -21,18 +21,24 @@
buildPythonPackage rec {
pname = "nvchecker";
version = "2.13.1";
version = "2.14";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "lilydjwg";
repo = pname;
repo = "nvchecker";
rev = "v${version}";
hash = "sha256-q+az9oaxxIOv/vLFpkT3cF5GDJsa0Cid4oPWEKg5s7M=";
hash = "sha256-QqfF8PGY8sULv1x0blu21ucWxqhOpQ7jyLuRCzDIpco=";
};
postPatch = ''
# Fix try/except syntax. Remove with the next release
substituteInPlace tests/test_jq.py \
--replace-warn "except jq" "except ImportError"
'';
nativeBuildInputs = [
setuptools
docutils