3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/dt-schema/default.nix

38 lines
740 B
Nix
Raw Normal View History

2020-05-01 10:08:15 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, git
, ruamel_yaml
, jsonschema
, rfc3987
, setuptools
, setuptools-scm
2020-05-01 10:08:15 +01:00
}:
buildPythonPackage rec {
pname = "dtschema";
version = "2021.7";
2020-05-01 10:08:15 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-11eCRY3zptsXI4kAIz3jLrTON4j2QTz/xG7vgUgyVA0=";
2020-05-01 10:08:15 +01:00
};
nativeBuildInputs = [ setuptools-scm git ];
2020-05-01 10:08:15 +01:00
propagatedBuildInputs = [
setuptools
ruamel_yaml
jsonschema
rfc3987
];
meta = with lib; {
description = "Tooling for devicetree validation using YAML and jsonschema";
homepage = "https://github.com/devicetree-org/dt-schema/";
# all files have SPDX tags
license = with licenses; [ bsd2 gpl2 ];
maintainers = with maintainers; [ sorki ];
};
}