Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 26 lines 608 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, nose, pyyaml, pathspec }: 3 4buildPythonPackage rec { 5 pname = "yamllint"; 6 version = "1.15.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "8f25759997acb42e52b96bf3af0b4b942e6516b51198bebd3402640102006af7"; 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}