python3Packages.riscv-isac: init at 0.16.1

This commit is contained in:
GenericNerdyUsername 2023-01-26 19:58:43 +00:00
parent 14f7b52785
commit 8e11bd3d05
No known key found for this signature in database
GPG Key ID: 65BA194581245B15
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, click
, colorlog
, gitpython
, pyelftools
, pytablewriter
, pytest
, pyyaml
, ruamel-yaml
}:
buildPythonPackage rec {
pname = "riscv-isac";
version = "0.16.1";
src = fetchFromGitHub {
owner = "riscv-software-src";
repo = pname;
rev = version;
hash = "sha256-Krjr9bvpoOeNfMbYj/QbJ+Y+AVLjwrzj8KKMUXCfnMA=";
};
postPatch = "substituteInPlace riscv_isac/requirements.txt --replace 'pyelftools==0.26' pyelftools";
propagatedBuildInputs = [
click
colorlog
gitpython
pyelftools
pytablewriter
pytest
pyyaml
ruamel-yaml
];
meta = with lib; {
homepage = "https://github.com/riscv/riscv-isac";
description = "An ISA coverage extraction tool";
maintainers = with maintainers; [ genericnerdyusername ];
license = licenses.bsd3;
};
}

View File

@ -10057,6 +10057,8 @@ self: super: with self; {
ripser = callPackage ../development/python-modules/ripser { };
riscv-isac = callPackage ../development/python-modules/riscv-isac { };
rising = callPackage ../development/python-modules/rising { };
ritassist = callPackage ../development/python-modules/ritassist { };