python3Packages.flux-led: 0.24.9 -> 0.24.12

This commit is contained in:
Fabian Affolter 2021-10-20 09:00:30 +02:00
parent 79bbe7b847
commit 7ede52510d

View file

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "flux_led"; pname = "flux_led";
version = "0.24.9"; version = "0.24.12";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "Danielhiversen"; owner = "Danielhiversen";
repo = "flux_led"; repo = "flux_led";
rev = version; rev = version;
sha256 = "sha256-U2Z7fsXO5Wb4WmcOOXm+6zmk+7pLcUxz/a5/QtWwC2Y="; sha256 = "sha256-vhmqfHAqbgDUvbn+dR7TuA5SFjF72/nhCL1h+GPy+9c=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -27,6 +27,11 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner>=5.2",' ""
'';
pytestFlagsArray = [ pytestFlagsArray = [
"tests.py" "tests.py"
]; ];