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