pythonPackage.pytest-ansible: 2.0.2- > 2.1.1

This commit is contained in:
Jonathan Ringer 2019-08-25 23:15:52 -07:00
parent aa2bf1bc25
commit 05de887368

View File

@ -1,6 +1,6 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, ansible , ansible
, pytest , pytest
, mock , mock
@ -8,11 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-ansible"; pname = "pytest-ansible";
version = "2.0.2"; version = "2.1.1";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "ansible";
sha256 = "d69d89cbcf29e587cbe6ec4b229346edbf027d3c04944dd7bcbf3d7bba46348f"; repo = "pytest-ansible";
rev = "v${version}";
sha256 = "0v97sqk3q2vkmwnjlnncz8ss8086x9jg3cz0g2nzlngs4ql1gdb0";
}; };
patchPhase = '' patchPhase = ''
@ -24,11 +26,11 @@ buildPythonPackage rec {
checkInputs = [ mock ]; checkInputs = [ mock ];
propagatedBuildInputs = [ ansible pytest ]; propagatedBuildInputs = [ ansible pytest ];
# tests not included with release # tests not included with release, even on github
doCheck = false; doCheck = false;
checkPhase = '' checkPhase = ''
pytest HOME=$TMPDIR pytest tests/
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {