depot/third_party/nixpkgs/pkgs/development/python-modules/riscv-config/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

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;
};
}