python311Packages.pvo: update disabled

This commit is contained in:
Fabian Affolter
2023-10-21 10:26:39 +02:00
parent 5e676701d9
commit 6e80d81f28
@@ -16,7 +16,7 @@ buildPythonPackage rec {
version = "2.0.0";
format = "pyproject";
disabled = pythonOlder "3.10";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "frenck";
@@ -25,6 +25,13 @@ buildPythonPackage rec {
hash = "sha256-SvsrvGwIAlj/8hdk90+rxigVrx6n3YInvF/4eux2H04=";
};
postPatch = ''
# Upstream doesn't set a version for the pyproject.toml
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}" \
--replace "--cov" ""
'';
nativeBuildInputs = [
poetry-core
];
@@ -41,13 +48,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
# Upstream doesn't set a version for the pyproject.toml
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}" \
--replace "--cov" ""
'';
pythonImportsCheck = [
"pvo"
];