python311Packages.elgato: update disabled

This commit is contained in:
Fabian Affolter 2023-10-21 10:32:30 +02:00
parent 87ce7e3df8
commit 8422ab3583

View File

@ -16,7 +16,7 @@ buildPythonPackage rec {
version = "5.0.0";
format = "pyproject";
disabled = pythonOlder "3.9";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "frenck";
@ -25,6 +25,13 @@ buildPythonPackage rec {
hash = "sha256-TI5wu2FYVUMvgDkbktcwPLnTSD8XUSy8qwOCdrsiopk=";
};
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 = [
"elgato"
];