pythonPackages.ansible-runner: init at 1.2.0
This commit is contained in:
parent
5c4a829a34
commit
9c976878c6
43
pkgs/development/python-modules/ansible-runner/default.nix
Normal file
43
pkgs/development/python-modules/ansible-runner/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, psutil
|
||||
, pexpect
|
||||
, python-daemon
|
||||
, pyyaml
|
||||
, six
|
||||
, ansible
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansible-runner";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9c2fc02bd22ac831138bfd2241e1664d7700bbb2c61f96b8b1f2d83ab4ea59a7";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [
|
||||
ansible
|
||||
psutil
|
||||
pexpect
|
||||
python-daemon
|
||||
pyyaml
|
||||
six
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
HOME=$(mktemp -d) pytest --ignore test/unit/test_runner.py -k "not test_prepare"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Helps when interfacing with Ansible";
|
||||
homepage = https://github.com/ansible/ansible-runner;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user