python.pkgs.yamllint: fix build

This commit is contained in:
Frederik Rietdijk 2017-09-06 18:42:35 +02:00
parent 62464e28fd
commit 71670376bc

View File

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, nose, pyyaml }:
, nose, pyyaml, pathspec }:
buildPythonPackage rec {
pname = "yamllint";
@ -11,9 +11,12 @@ buildPythonPackage rec {
sha256 = "048743567ca9511e19222233ebb53795586a2cede07b79e801577e0a9b4f173c";
};
buildInputs = [ nose ];
checkInputs = [ nose ];
propagatedBuildInputs = [ pyyaml ];
propagatedBuildInputs = [ pyyaml pathspec ];
# Two test failures
doCheck = false;
meta = with stdenv.lib; {
description = "A linter for YAML files";