diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/yamllint')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/yamllint/default.nix | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/yamllint/default.nix b/nixpkgs/pkgs/development/python-modules/yamllint/default.nix index 79687d6cf621..3a93c13a820a 100644 --- a/nixpkgs/pkgs/development/python-modules/yamllint/default.nix +++ b/nixpkgs/pkgs/development/python-modules/yamllint/default.nix @@ -1,12 +1,13 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchFromGitHub -, setuptools -, pathspec -, pytestCheckHook -, pythonOlder -, pyyaml +{ + lib, + stdenv, + buildPythonPackage, + fetchFromGitHub, + setuptools, + pathspec, + pytestCheckHook, + pythonOlder, + pyyaml, }: buildPythonPackage rec { @@ -23,39 +24,38 @@ buildPythonPackage rec { hash = "sha256-+7Q2cPl4XElI2IfLAkteifFVTrGkj2IjZk7nPuc6eYM="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ pyyaml pathspec ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - disabledTests = [ - # test failure reported upstream: https://github.com/adrienverge/yamllint/issues/373 - "test_find_files_recursively" - ] ++ lib.optionals stdenv.isDarwin [ - # locale tests are broken on BSDs; see https://github.com/adrienverge/yamllint/issues/307 - "test_locale_accents" - "test_locale_case" - "test_run_with_locale" - ]; + disabledTests = + [ + # test failure reported upstream: https://github.com/adrienverge/yamllint/issues/373 + "test_find_files_recursively" + ] + ++ lib.optionals stdenv.isDarwin [ + # locale tests are broken on BSDs; see https://github.com/adrienverge/yamllint/issues/307 + "test_locale_accents" + "test_locale_case" + "test_run_with_locale" + ]; - pythonImportsCheck = [ - "yamllint" - ]; + pythonImportsCheck = [ "yamllint" ]; meta = with lib; { - description = "A linter for YAML files"; + description = "Linter for YAML files"; mainProgram = "yamllint"; homepage = "https://github.com/adrienverge/yamllint"; changelog = "https://github.com/adrienverge/yamllint/blob/v${version}/CHANGELOG.rst"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ jonringer mikefaille ]; + maintainers = with maintainers; [ + jonringer + mikefaille + ]; }; } |