depot/third_party/nixpkgs/pkgs/development/python-modules/riscv-isac/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

44 lines
854 B
Nix

{ 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;
};
}