blob: c19d390a8e10936a8512cb37b0164538e8a7a0e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
cerberus,
fetchFromGitHub,
pyyaml,
ruamel-yaml,
setuptools,
}:
buildPythonPackage rec {
pname = "riscv-config";
version = "3.18.3";
pyproject = true;
src = fetchFromGitHub {
owner = "riscv-software-src";
repo = "riscv-config";
tag = version;
hash = "sha256-eaHi6ezgU8gQYH97gCS2TzEzIP3F4zfn7uiA/To2Gmc=";
};
pythonRelaxDeps = [ "pyyaml" ];
build-system = [ setuptools ];
dependencies = [
cerberus
pyyaml
ruamel-yaml
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "riscv_config" ];
meta = {
description = "RISC-V configuration validator";
homepage = "https://github.com/riscv/riscv-config";
changelog = "https://github.com/riscv-software-src/riscv-config/blob/${version}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = [ ];
mainProgram = "riscv-config";
};
}
|