diff options
Diffstat (limited to 'pkgs/development/python-modules/dtschema/default.nix')
-rw-r--r-- | pkgs/development/python-modules/dtschema/default.nix | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/dtschema/default.nix b/pkgs/development/python-modules/dtschema/default.nix index 4647dbbb3002..2dffd2d5bc95 100644 --- a/pkgs/development/python-modules/dtschema/default.nix +++ b/pkgs/development/python-modules/dtschema/default.nix @@ -1,13 +1,14 @@ -{ stdenv -, lib -, buildPythonPackage -, fetchFromGitHub -, jsonschema -, pythonOlder -, rfc3987 -, ruamel-yaml -, setuptools-scm -, libfdt +{ + stdenv, + lib, + buildPythonPackage, + fetchFromGitHub, + jsonschema, + pythonOlder, + rfc3987, + ruamel-yaml, + setuptools-scm, + libfdt, }: buildPythonPackage rec { @@ -29,9 +30,7 @@ buildPythonPackage rec { ./fix_libfdt_name.patch ]; - nativeBuildInputs = [ - setuptools-scm - ]; + nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ jsonschema @@ -43,24 +42,25 @@ buildPythonPackage rec { # Module has no tests doCheck = false; - pythonImportsCheck = [ - "dtschema" - ]; + pythonImportsCheck = [ "dtschema" ]; meta = with lib; { description = "Tooling for devicetree validation using YAML and jsonschema"; homepage = "https://github.com/devicetree-org/dt-schema/"; changelog = "https://github.com/devicetree-org/dt-schema/releases/tag/v${version}"; - license = with licenses; [ bsd2 /* or */ gpl2Only ]; + license = with licenses; [ + bsd2 # or + gpl2Only + ]; maintainers = with maintainers; [ sorki ]; broken = ( # Library not loaded: @rpath/libfdt.1.dylib - stdenv.isDarwin || + stdenv.hostPlatform.isDarwin + || - # see https://github.com/devicetree-org/dt-schema/issues/108 - versionAtLeast jsonschema.version "4.18" + # see https://github.com/devicetree-org/dt-schema/issues/108 + versionAtLeast jsonschema.version "4.18" ); }; } - |