Merge pull request #228959 from fabaff/edalize-fix

python310Packages.edalize: 0.4.1 -> 0.5.0

authored by

Fabian Affolter and committed by
GitHub
fdf32c58 4ba968da

+23 -7
+23 -7
pkgs/development/python-modules/edalize/default.nix
··· 4 4 , coreutils 5 5 , jinja2 6 6 , pandas 7 + , pyparsing 7 8 , pytestCheckHook 9 + , pythonOlder 8 10 , which 9 11 , yosys 10 12 }: 11 13 12 14 buildPythonPackage rec { 13 15 pname = "edalize"; 14 - version = "0.4.1"; 16 + version = "0.5.0"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.7"; 15 20 16 21 src = fetchFromGitHub { 17 22 owner = "olofk"; 18 23 repo = pname; 19 24 rev = "refs/tags/v${version}"; 20 - hash = "sha256-h6b0mdAUR4NsN2SpnLu5OgS9Fy9ZRitG+5Sbon1jlUM="; 25 + hash = "sha256-jsrJr/iuezh9/KL0PykWB1XKev4Wr5QeDh0ZWNMZSp8="; 21 26 }; 22 27 23 28 postPatch = '' ··· 26 31 patchShebangs tests/mock_commands/vsim 27 32 ''; 28 33 29 - propagatedBuildInputs = [ jinja2 ]; 34 + propagatedBuildInputs = [ 35 + jinja2 36 + ]; 37 + 38 + passthru.optional-dependencies = { 39 + reporting = [ 40 + pandas 41 + pyparsing 42 + ]; 43 + }; 30 44 31 45 nativeCheckInputs = [ 32 46 pytestCheckHook 33 - pandas 34 47 which 35 48 yosys 36 - ]; 49 + ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 37 50 38 - pythonImportsCheck = [ "edalize" ]; 51 + pythonImportsCheck = [ 52 + "edalize" 53 + ]; 39 54 40 55 disabledTestPaths = [ 41 56 "tests/test_questa_formal.py" ··· 67 82 meta = with lib; { 68 83 description = "Abstraction library for interfacing EDA tools"; 69 84 homepage = "https://github.com/olofk/edalize"; 85 + changelog = "https://github.com/olofk/edalize/releases/tag/v${version}"; 70 86 license = licenses.bsd2; 71 - maintainers = [ maintainers.astro ]; 87 + maintainers = with maintainers; [ astro ]; 72 88 }; 73 89 }