evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / riscv-config / default.nix
blobc03e97c6232e43ee22049c789c4409bca1895852
2   lib,
3   buildPythonPackage,
4   cerberus,
5   fetchFromGitHub,
6   pythonOlder,
7   pyyaml,
8   ruamel-yaml,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "riscv-config";
14   version = "3.18.3";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "riscv-software-src";
21     repo = "riscv-config";
22     rev = "refs/tags/${version}";
23     hash = "sha256-eaHi6ezgU8gQYH97gCS2TzEzIP3F4zfn7uiA/To2Gmc=";
24   };
26   pythonRelaxDeps = [ "pyyaml" ];
28   build-system = [ setuptools ];
31   dependencies = [
32     cerberus
33     pyyaml
34     ruamel-yaml
35   ];
37   # Module has no tests
38   doCheck = false;
40   pythonImportsCheck = [ "riscv_config" ];
42   meta = with lib; {
43     description = "RISC-V configuration validator";
44     homepage = "https://github.com/riscv/riscv-config";
45     changelog = "https://github.com/riscv-software-src/riscv-config/blob/${version}/CHANGELOG.md";
46     license = licenses.bsd3;
47     maintainers = with maintainers; [ genericnerdyusername ];
48     mainProgram = "riscv-config";
49   };