From 922975063092ec3bb559909c4d580ee5609110ce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 29 Apr 2023 19:57:44 +0200 Subject: [PATCH] python310Packages.edalize: disable on unsupported Python releases - add format --- pkgs/development/python-modules/edalize/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/edalize/default.nix b/pkgs/development/python-modules/edalize/default.nix index cbd93919b4c7..f3c1376336ce 100644 --- a/pkgs/development/python-modules/edalize/default.nix +++ b/pkgs/development/python-modules/edalize/default.nix @@ -5,6 +5,7 @@ , jinja2 , pandas , pytestCheckHook +, pythonOlder , which , yosys }: @@ -12,6 +13,9 @@ buildPythonPackage rec { pname = "edalize"; version = "0.4.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "olofk"; @@ -26,7 +30,9 @@ buildPythonPackage rec { patchShebangs tests/mock_commands/vsim ''; - propagatedBuildInputs = [ jinja2 ]; + propagatedBuildInputs = [ + jinja2 + ]; nativeCheckInputs = [ pytestCheckHook @@ -35,7 +41,9 @@ buildPythonPackage rec { yosys ]; - pythonImportsCheck = [ "edalize" ]; + pythonImportsCheck = [ + "edalize" + ]; disabledTestPaths = [ "tests/test_questa_formal.py"