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