diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-08-25 23:15:52 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2019-08-26 02:01:22 -0700 |
commit | 05de8873686d97bd9b8eec135fc189adc2c719e3 (patch) | |
tree | 1bb15eaea16f835afce99f4f0dfeb61c7a39478d /pkgs/development/python-modules/pytest-ansible | |
parent | aa2bf1bc25a622bc6c86c5047e3cf149d811da20 (diff) | |
download | nixpkgs-05de8873686d97bd9b8eec135fc189adc2c719e3.tar nixpkgs-05de8873686d97bd9b8eec135fc189adc2c719e3.tar.gz nixpkgs-05de8873686d97bd9b8eec135fc189adc2c719e3.tar.bz2 nixpkgs-05de8873686d97bd9b8eec135fc189adc2c719e3.tar.lz nixpkgs-05de8873686d97bd9b8eec135fc189adc2c719e3.tar.xz nixpkgs-05de8873686d97bd9b8eec135fc189adc2c719e3.tar.zst nixpkgs-05de8873686d97bd9b8eec135fc189adc2c719e3.zip |
pythonPackage.pytest-ansible: 2.0.2- > 2.1.1
Diffstat (limited to 'pkgs/development/python-modules/pytest-ansible')
-rw-r--r-- | pkgs/development/python-modules/pytest-ansible/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pytest-ansible/default.nix b/pkgs/development/python-modules/pytest-ansible/default.nix index 3085ee06e87..0ef79cd0989 100644 --- a/pkgs/development/python-modules/pytest-ansible/default.nix +++ b/pkgs/development/python-modules/pytest-ansible/default.nix @@ -1,6 +1,6 @@ { stdenv , buildPythonPackage -, fetchPypi +, fetchFromGitHub , ansible , pytest , mock @@ -8,11 +8,13 @@ buildPythonPackage rec { pname = "pytest-ansible"; - version = "2.0.2"; + version = "2.1.1"; - src = fetchPypi { - inherit pname version; - sha256 = "d69d89cbcf29e587cbe6ec4b229346edbf027d3c04944dd7bcbf3d7bba46348f"; + src = fetchFromGitHub { + owner = "ansible"; + repo = "pytest-ansible"; + rev = "v${version}"; + sha256 = "0v97sqk3q2vkmwnjlnncz8ss8086x9jg3cz0g2nzlngs4ql1gdb0"; }; patchPhase = '' @@ -24,11 +26,11 @@ buildPythonPackage rec { checkInputs = [ mock ]; propagatedBuildInputs = [ ansible pytest ]; - # tests not included with release + # tests not included with release, even on github doCheck = false; checkPhase = '' - pytest + HOME=$TMPDIR pytest tests/ ''; meta = with stdenv.lib; { |