python312Packages.yamale: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-26 09:13:54 +02:00
parent bea661001b
commit e7a31e0c37

View File

@ -1,11 +1,12 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pythonOlder fetchFromGitHub,
, pytestCheckHook pythonOlder,
, pyyaml pytestCheckHook,
, ruamel-yaml pyyaml,
, setuptools ruamel-yaml,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,22 +23,16 @@ buildPythonPackage rec {
hash = "sha256-UTtase1b8Zjaixhp/g0tLtT6QZS4cyaSHcFz+h9Qoos="; hash = "sha256-UTtase1b8Zjaixhp/g0tLtT6QZS4cyaSHcFz+h9Qoos=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
pyyaml pyyaml
ruamel-yaml ruamel-yaml
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "yamale" ];
"yamale"
];
meta = with lib; { meta = with lib; {
description = "A schema and validator for YAML"; description = "A schema and validator for YAML";