My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pyinfra/default.nix

60 lines
1.1 KiB

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, gevent
, click
, colorama
, configparser
, distro
, jinja2
, paramiko
, python-dateutil
, pywinrm
, setuptools
, six
}:
buildPythonPackage rec {
pname = "pyinfra";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-AW2pOyLqyugTSM7PE4oR9ZwD1liNpdD636QA3ElafG0=";
};
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;
};
}