Merge pull request #231225 from r-ryantm/auto-update/python310Packages.riscv-isac

python310Packages.riscv-isac: 0.16.1 -> 0.17.0

authored by Weijia Wang and committed by GitHub 179e4e16 43a039f4

+28 -10
+28 -10
pkgs/development/python-modules/riscv-isac/default.nix
··· 1 - { buildPythonPackage 2 , fetchFromGitHub 3 - , lib 4 , click 5 , colorlog 6 , gitpython 7 , pyelftools 8 , pytablewriter 9 - , pytest 10 , pyyaml 11 , ruamel-yaml 12 }: 13 14 buildPythonPackage rec { 15 pname = "riscv-isac"; 16 - version = "0.16.1"; 17 18 src = fetchFromGitHub { 19 owner = "riscv-software-src"; 20 repo = pname; 21 - rev = version; 22 - hash = "sha256-Krjr9bvpoOeNfMbYj/QbJ+Y+AVLjwrzj8KKMUXCfnMA="; 23 }; 24 25 - postPatch = "substituteInPlace riscv_isac/requirements.txt --replace 'pyelftools==0.26' pyelftools"; 26 27 propagatedBuildInputs = [ 28 click 29 colorlog 30 gitpython 31 pyelftools 32 pytablewriter 33 - pytest 34 pyyaml 35 ruamel-yaml 36 ]; 37 38 meta = with lib; { 39 homepage = "https://github.com/riscv/riscv-isac"; 40 - description = "An ISA coverage extraction tool"; 41 - maintainers = with maintainers; [ genericnerdyusername ]; 42 license = licenses.bsd3; 43 }; 44 }
··· 1 + { lib 2 + , buildPythonPackage 3 , fetchFromGitHub 4 , click 5 , colorlog 6 , gitpython 7 + , pluggy 8 , pyelftools 9 , pytablewriter 10 + , pytestCheckHook 11 , pyyaml 12 , ruamel-yaml 13 + , pythonOlder 14 }: 15 16 buildPythonPackage rec { 17 pname = "riscv-isac"; 18 + version = "0.17.0"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.7"; 22 23 src = fetchFromGitHub { 24 owner = "riscv-software-src"; 25 repo = pname; 26 + rev = "refs/tags/${version}"; 27 + hash = "sha256-I0RsvSCrSlNGVj8z+WUQx6vbdNkKCRyMFvNx+0mTBAE="; 28 }; 29 30 + postPatch = '' 31 + substituteInPlace riscv_isac/requirements.txt \ 32 + --replace "pyelftools==0.26" "pyelftools" \ 33 + --replace "pytest" "" 34 + ''; 35 36 propagatedBuildInputs = [ 37 click 38 colorlog 39 gitpython 40 + pluggy 41 pyelftools 42 pytablewriter 43 pyyaml 44 ruamel-yaml 45 ]; 46 47 + nativeCheckInputs = [ 48 + pytestCheckHook 49 + ]; 50 + 51 + pythonImportsCheck = [ 52 + "riscv_isac" 53 + ]; 54 + 55 meta = with lib; { 56 + description = "An ISA coverage extraction tool"; 57 homepage = "https://github.com/riscv/riscv-isac"; 58 + changelog = "https://github.com/riscv-software-src/riscv-isac/blob/${version}/CHANGELOG.md"; 59 license = licenses.bsd3; 60 + maintainers = with maintainers; [ genericnerdyusername ]; 61 }; 62 }