11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.6";
18 src = fetchFromGitHub {
19 owner = "riscv-software-src";
21 rev = "refs/tags/${version}";
22 hash = "sha256-ToI2xI0fvnDR+hJ++T4ss5X3gc4G6Cj1uJHx0m2X7GY=";
26 # riscof copies a template directory from the store, but breaks because it
27 # doesn't change permissions and expects it to be writeable
28 ./make_writeable.patch
32 substituteInPlace setup.py \
33 --replace "import pip" ""
34 substituteInPlace riscof/requirements.txt \
35 --replace "GitPython==3.1.17" "GitPython"
38 propagatedBuildInputs = [
44 pythonImportsCheck = [
48 # No unitests available
52 description = "RISC-V Architectural Test Framework";
53 homepage = "https://github.com/riscv-software-src/riscof";
54 changelog = "https://github.com/riscv-software-src/riscof/blob/${version}/CHANGELOG.md";
55 maintainers = with maintainers; [ genericnerdyusername ];
56 license = licenses.bsd3;