1{ stdenv, buildPythonPackage, fetchPypi
2, nose, pyyaml, pathspec }:
3
4buildPythonPackage rec {
5 pname = "yamllint";
6 version = "1.24.2";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "07xn11i0c7x72xjxkkzrq9zxl40vfdr41mfvhlayrk6dpbk8vdj0";
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; [ jonringer mikefaille ];
25 };
26}