17 buildPythonPackage rec {
20 format = "setuptools";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
25 owner = "riscv-software-src";
27 rev = "refs/tags/${version}";
28 hash = "sha256-7CWUyYwzynFq/Qk5SzQB+ljsVVI98kPPDT63Emhqihw=";
32 substituteInPlace riscv_isac/requirements.txt \
33 --replace "pyelftools==0.26" "pyelftools" \
37 propagatedBuildInputs = [
48 nativeCheckInputs = [ pytestCheckHook ];
50 pythonImportsCheck = [ "riscv_isac" ];
53 description = "ISA coverage extraction tool";
54 mainProgram = "riscv_isac";
55 homepage = "https://github.com/riscv/riscv-isac";
56 changelog = "https://github.com/riscv-software-src/riscv-isac/blob/${version}/CHANGELOG.md";
57 license = licenses.bsd3;
58 maintainers = with maintainers; [ genericnerdyusername ];