forked from mirrors/nixpkgs
24ed4749d7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-yamllint/versions
27 lines
596 B
Nix
27 lines
596 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, nose, pyyaml, pathspec }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yamllint";
|
|
version = "1.16.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1bw39aiyqspjsxps5m3skaszih8vap8kyialbzg7jjc080nyqkws";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|