ansible-lint: 4.2.0 -> 4.3.5

This commit is contained in:
Sandro Jäckel 2020-10-18 19:04:41 +02:00 committed by Jon
parent 8781030dfa
commit 8218431da9

View File

@ -4,30 +4,31 @@
, isPy27
, ansible
, pyyaml
, six
, nose
, setuptools_scm
, ruamel_yaml
, pathlib2
, rich
, pytestCheckHook
, pytestcov
, pytest_xdist
, git
}:
buildPythonPackage rec {
pname = "ansible-lint";
version = "4.2.0";
version = "4.3.5";
# pip is not able to import version info on raumel.yaml
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "eb925d8682d70563ccb80e2aca7b3edf84fb0b768cea3edc6846aac7abdc414a";
sha256 = "0mjn0drw3cx4pfl9qll5j7wib5r8msihs5yl8ri9fkfcbz7k1hmy";
};
format = "pyproject";
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pyyaml six ansible ruamel_yaml ]
++ lib.optionals isPy27 [ pathlib2 ];
checkInputs = [ nose ];
propagatedBuildInputs = [ pyyaml ansible ruamel_yaml rich ];
checkInputs = [ pytestCheckHook pytestcov pytest_xdist git ];
postPatch = ''
patchShebangs bin/ansible-lint
@ -42,7 +43,7 @@ buildPythonPackage rec {
'';
checkPhase = ''
PATH=$out/bin:$PATH nosetests test
pytest -k 'not test_run_playbook_github and not test_run_single_role_path_no_trailing_slash_script'
'';
meta = with lib; {