Merge pull request #164252 from totoroot/pyinfra

pyinfra: init at 1.7
This commit is contained in:
Anderson Torres 2022-03-15 18:50:31 -03:00 committed by GitHub
commit 8d5a7212d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -9194,6 +9194,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

@ -8279,6 +8279,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 { };