nixpkgs/pkgs/development/python-modules/yamllint/default.nix
2019-11-29 02:50:53 -08:00

27 lines
596 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, nose, pyyaml, pathspec }:
buildPythonPackage rec {
pname = "yamllint";
version = "1.19.0";
src = fetchPypi {
inherit pname version;
sha256 = "05fg2i27bq40z83avmz3h91i206dx5k6nyyvpa5vja54sqg14q02";
};
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 ];
};
}