1{ stdenv, buildPythonPackage, fetchPypi 2, nose, pyyaml, pathspec }: 3 4buildPythonPackage rec { 5 pname = "yamllint"; 6 version = "1.11.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "e9b7dec24921ef13180902e5dbcaae9157c773e3e3e2780ef77d3a4dd67d799f"; 11 }; 12 13 checkInputs = [ nose ]; 14 15 propagatedBuildInputs = [ pyyaml pathspec ]; 16 17 # Two test failures 18 doCheck = false; 19 20 meta = with stdenv.lib; { 21 description = "A linter for YAML files"; 22 homepage = https://github.com/adrienverge/yamllint; 23 license = licenses.gpl3; 24 maintainers = with maintainers; [ mikefaille ]; 25 }; 26}