12 buildPythonPackage rec {
13 pname = "riscv-config";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
20 owner = "riscv-software-src";
21 repo = "riscv-config";
22 rev = "refs/tags/${version}";
23 hash = "sha256-eaHi6ezgU8gQYH97gCS2TzEzIP3F4zfn7uiA/To2Gmc=";
26 pythonRelaxDeps = [ "pyyaml" ];
28 build-system = [ setuptools ];
40 pythonImportsCheck = [ "riscv_config" ];
43 description = "RISC-V configuration validator";
44 homepage = "https://github.com/riscv/riscv-config";
45 changelog = "https://github.com/riscv-software-src/riscv-config/blob/${version}/CHANGELOG.md";
46 license = licenses.bsd3;
47 maintainers = with maintainers; [ genericnerdyusername ];
48 mainProgram = "riscv-config";