diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-06-23 00:32:22 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-06-23 00:32:22 +0200 |
commit | 6402b188ddd100b3cd6afe7b8a3e553365203f43 (patch) | |
tree | 676b85e4a6ffee092e413e723f7dce8ba01bb48f /nixpkgs/pkgs/development/python-modules/yamllint | |
parent | 5a1826585861b32ce2509c0643e793196d81893e (diff) | |
parent | d603719ec6e294f034936c0d0dc06f689d91b6c3 (diff) | |
download | nixlib-6402b188ddd100b3cd6afe7b8a3e553365203f43.tar nixlib-6402b188ddd100b3cd6afe7b8a3e553365203f43.tar.gz nixlib-6402b188ddd100b3cd6afe7b8a3e553365203f43.tar.bz2 nixlib-6402b188ddd100b3cd6afe7b8a3e553365203f43.tar.lz nixlib-6402b188ddd100b3cd6afe7b8a3e553365203f43.tar.xz nixlib-6402b188ddd100b3cd6afe7b8a3e553365203f43.tar.zst nixlib-6402b188ddd100b3cd6afe7b8a3e553365203f43.zip |
Merge remote-tracking branch 'nixpkgs/nixos-unstable'
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 + ]; }; } |