Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 27 lines 639 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, nose, pyyaml, pathspec }: 3 4buildPythonPackage rec { 5 pname = "yamllint"; 6 version = "1.8.1"; 7 name = "${pname}-${version}"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "048743567ca9511e19222233ebb53795586a2cede07b79e801577e0a9b4f173c"; 12 }; 13 14 checkInputs = [ nose ]; 15 16 propagatedBuildInputs = [ pyyaml pathspec ]; 17 18 # Two test failures 19 doCheck = false; 20 21 meta = with stdenv.lib; { 22 description = "A linter for YAML files"; 23 homepage = https://github.com/adrienverge/yamllint; 24 license = licenses.gpl3; 25 maintainers = with maintainers; [ mikefaille ]; 26 }; 27}