2023-02-09 11:40:11 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, cerberus
|
|
|
|
, pyyaml
|
|
|
|
, ruamel-yaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "riscv-config";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "3.5.2";
|
2023-02-09 11:40:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "riscv-software-src";
|
|
|
|
repo = pname;
|
2023-03-15 16:39:30 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-K7W6yyqy/2c4WHyOojuvw2P/v7bND5K6WFfTujkofBw=";
|
2023-02-09 11:40:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|