nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 46 lines 914 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cerberus, 5 fetchFromGitHub, 6 pyyaml, 7 ruamel-yaml, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "riscv-config"; 13 version = "3.18.3"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "riscv-software-src"; 18 repo = "riscv-config"; 19 tag = version; 20 hash = "sha256-eaHi6ezgU8gQYH97gCS2TzEzIP3F4zfn7uiA/To2Gmc="; 21 }; 22 23 pythonRelaxDeps = [ "pyyaml" ]; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 cerberus 29 pyyaml 30 ruamel-yaml 31 ]; 32 33 # Module has no tests 34 doCheck = false; 35 36 pythonImportsCheck = [ "riscv_config" ]; 37 38 meta = { 39 description = "RISC-V configuration validator"; 40 homepage = "https://github.com/riscv/riscv-config"; 41 changelog = "https://github.com/riscv-software-src/riscv-config/blob/${version}/CHANGELOG.md"; 42 license = lib.licenses.bsd3; 43 maintainers = [ ]; 44 mainProgram = "riscv-config"; 45 }; 46}