2017-07-15 00:07:43 -07:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-09-06 09:42:35 -07:00
|
|
|
, nose, pyyaml, pathspec }:
|
2017-07-15 00:07:43 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yamllint";
|
2020-07-26 12:38:56 -07:00
|
|
|
version = "1.24.2";
|
2017-07-15 00:07:43 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-26 12:38:56 -07:00
|
|
|
sha256 = "07xn11i0c7x72xjxkkzrq9zxl40vfdr41mfvhlayrk6dpbk8vdj0";
|
2017-07-15 00:07:43 -07:00
|
|
|
};
|
|
|
|
|
2017-09-06 09:42:35 -07:00
|
|
|
checkInputs = [ nose ];
|
2017-07-15 00:07:43 -07:00
|
|
|
|
2017-09-06 09:42:35 -07:00
|
|
|
propagatedBuildInputs = [ pyyaml pathspec ];
|
|
|
|
|
|
|
|
# Two test failures
|
|
|
|
doCheck = false;
|
2017-07-15 00:07:43 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A linter for YAML files";
|
2020-04-07 03:45:49 -07:00
|
|
|
homepage = "https://github.com/adrienverge/yamllint";
|
2017-07-15 00:07:43 -07:00
|
|
|
license = licenses.gpl3;
|
2020-07-13 10:49:32 -07:00
|
|
|
maintainers = with maintainers; [ jonringer mikefaille ];
|
2017-07-15 00:07:43 -07:00
|
|
|
};
|
|
|
|
}
|