python311Packages.archinfo: add backports-strenum

This commit is contained in:
Fabian Affolter 2023-10-14 21:57:19 +02:00
parent 8718efadd1
commit 90c3c8ff8b

View file

@ -1,4 +1,5 @@
{ lib
, backports-strenum
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
@ -9,7 +10,7 @@
buildPythonPackage rec {
pname = "archinfo";
version = "9.2.72";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.8";
@ -24,6 +25,10 @@ buildPythonPackage rec {
setuptools
];
propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [
backports-strenum
];
nativeCheckInputs = [
pytestCheckHook
];