depot/third_party/nixpkgs/pkgs/development/python-modules/riscv-config/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

28 lines
612 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
, cerberus
, pyyaml
, ruamel-yaml
}:
buildPythonPackage rec {
pname = "riscv-config";
version = "3.5.0";
src = fetchFromGitHub {
owner = "riscv-software-src";
repo = pname;
rev = version;
hash = "sha256-HKmHrvOF4OOzoILrBJG46UOKow5gRxMcXXiI6f34dPc=";
};
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;
};
}