2022-03-30 09:31:56 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, gevent
|
|
|
|
, click
|
|
|
|
, colorama
|
|
|
|
, configparser
|
|
|
|
, distro
|
|
|
|
, jinja2
|
|
|
|
, paramiko
|
|
|
|
, python-dateutil
|
|
|
|
, pywinrm
|
|
|
|
, setuptools
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyinfra";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "2.0.2";
|
2022-03-30 09:31:56 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-AW2pOyLqyugTSM7PE4oR9ZwD1liNpdD636QA3ElafG0=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
colorama
|
|
|
|
configparser
|
|
|
|
distro
|
|
|
|
gevent
|
|
|
|
jinja2
|
|
|
|
paramiko
|
|
|
|
python-dateutil
|
|
|
|
pywinrm
|
|
|
|
setuptools
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"pyinfra"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python-based infrastructure automation";
|
|
|
|
longDescription = ''
|
|
|
|
pyinfra automates/provisions/manages/deploys infrastructure. It can be used for
|
|
|
|
ad-hoc command execution, service deployment, configuration management and more.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/Fizzadar/pyinfra";
|
|
|
|
maintainers = with maintainers; [ totoroot ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|