pyinfra: init at 1.7

This commit is contained in:
Matthias Thym 2022-03-13 21:36:03 +01:00
parent 7371e9d24f
commit 01bba26c1e
3 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,60 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, gevent
, click
, colorama
, configparser
, distro
, jinja2
, paramiko
, python-dateutil
, pywinrm
, setuptools
, six
}:
buildPythonPackage rec {
pname = "pyinfra";
version = "1.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-r+7ka3WKE6uHP//p1N71hgTGit7Eo3x9INpbKPYbFMI=";
};
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;
};
}

View File

@ -9189,6 +9189,8 @@ with pkgs;
pydf = callPackage ../applications/misc/pydf { }; pydf = callPackage ../applications/misc/pydf { };
pyinfra = with python3Packages; toPythonApplication pyinfra;
pympress = callPackage ../applications/office/pympress { }; pympress = callPackage ../applications/office/pympress { };
pyspread = libsForQt5.callPackage ../applications/office/pyspread { }; pyspread = libsForQt5.callPackage ../applications/office/pyspread { };

View File

@ -8305,6 +8305,8 @@ in {
pyeverlights = callPackage ../development/python-modules/pyeverlights { }; pyeverlights = callPackage ../development/python-modules/pyeverlights { };
pyinfra = callPackage ../development/python-modules/pyinfra { };
pytibber = callPackage ../development/python-modules/pytibber { }; pytibber = callPackage ../development/python-modules/pytibber { };
pytile = callPackage ../development/python-modules/pytile { }; pytile = callPackage ../development/python-modules/pytile { };