83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
28 lines
627 B
Nix
28 lines
627 B
Nix
{ buildPythonPackage
|
|
, fetchFromGitHub
|
|
, lib
|
|
, cerberus
|
|
, pyyaml
|
|
, ruamel-yaml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "riscv-config";
|
|
version = "3.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "riscv-software-src";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-K7W6yyqy/2c4WHyOojuvw2P/v7bND5K6WFfTujkofBw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cerberus pyyaml ruamel-yaml ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/riscv/riscv-config";
|
|
description = "RISC-V configuration validator";
|
|
maintainers = with maintainers; [ genericnerdyusername ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|