pyinfra: init at 1.7
This commit is contained in:
parent
7371e9d24f
commit
01bba26c1e
3 changed files with 64 additions and 0 deletions
60
pkgs/development/python-modules/pyinfra/default.nix
Normal file
60
pkgs/development/python-modules/pyinfra/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -9189,6 +9189,8 @@ with pkgs;
|
|||
|
||||
pydf = callPackage ../applications/misc/pydf { };
|
||||
|
||||
pyinfra = with python3Packages; toPythonApplication pyinfra;
|
||||
|
||||
pympress = callPackage ../applications/office/pympress { };
|
||||
|
||||
pyspread = libsForQt5.callPackage ../applications/office/pyspread { };
|
||||
|
|
|
@ -8305,6 +8305,8 @@ in {
|
|||
|
||||
pyeverlights = callPackage ../development/python-modules/pyeverlights { };
|
||||
|
||||
pyinfra = callPackage ../development/python-modules/pyinfra { };
|
||||
|
||||
pytibber = callPackage ../development/python-modules/pytibber { };
|
||||
|
||||
pytile = callPackage ../development/python-modules/pytile { };
|
||||
|
|
Loading…
Reference in a new issue