depot/third_party/nixpkgs/pkgs/development/tools/dt-schema/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

37 lines
754 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, git
, ruamel-yaml
, jsonschema
, rfc3987
, setuptools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "dtschema";
version = "2021.10";
src = fetchPypi {
inherit pname version;
sha256 = "d09c94d13f46e6674ba11ff31220651ad1b02dae860f5a87905dfac6b8d768d9";
};
nativeBuildInputs = [ setuptools-scm git ];
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 ];
};
}