Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 28 lines 627 B view raw
1{ buildPythonPackage 2, fetchFromGitHub 3, lib 4, cerberus 5, pyyaml 6, ruamel-yaml 7}: 8 9buildPythonPackage rec { 10 pname = "riscv-config"; 11 version = "3.5.2"; 12 13 src = fetchFromGitHub { 14 owner = "riscv-software-src"; 15 repo = pname; 16 rev = "refs/tags/${version}"; 17 hash = "sha256-K7W6yyqy/2c4WHyOojuvw2P/v7bND5K6WFfTujkofBw="; 18 }; 19 20 propagatedBuildInputs = [ cerberus pyyaml ruamel-yaml ]; 21 22 meta = with lib; { 23 homepage = "https://github.com/riscv/riscv-config"; 24 description = "RISC-V configuration validator"; 25 maintainers = with maintainers; [ genericnerdyusername ]; 26 license = licenses.bsd3; 27 }; 28}