nixpkgs/pkgs/development/python-modules/yamllint/default.nix
2018-07-26 12:43:13 +02:00

26 lines
608 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, nose, pyyaml, pathspec }:
buildPythonPackage rec {
pname = "yamllint";
version = "1.11.1";
src = fetchPypi {
inherit pname version;
sha256 = "e9b7dec24921ef13180902e5dbcaae9157c773e3e3e2780ef77d3a4dd67d799f";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ pyyaml pathspec ];
# Two test failures
doCheck = false;
meta = with stdenv.lib; {
description = "A linter for YAML files";
homepage = https://github.com/adrienverge/yamllint;
license = licenses.gpl3;
maintainers = with maintainers; [ mikefaille ];
};
}