1{ stdenv, buildPythonPackage, fetchPypi
2, nose, pyyaml, pathspec }:
3
4buildPythonPackage rec {
5 pname = "yamllint";
6 version = "1.17.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "04xarlbh59f9ah53jxrcpqpzladyfxaw6cb2g8clw9aid0qzi9kh";
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}