uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
70
pkgs/development/python-modules/pyinfra/default.nix
Normal file
70
pkgs/development/python-modules/pyinfra/default.nix
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, colorama
|
||||
, configparser
|
||||
, distro
|
||||
, fetchFromGitHub
|
||||
, gevent
|
||||
, jinja2
|
||||
, paramiko
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pywinrm
|
||||
, pyyaml
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyinfra";
|
||||
version = "2.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fizzadar";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-frjPxSATvXgeACT4kThoiPu04Ez8bs8FIPdf5PVuiSg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
colorama
|
||||
configparser
|
||||
distro
|
||||
gevent
|
||||
jinja2
|
||||
paramiko
|
||||
python-dateutil
|
||||
pywinrm
|
||||
pyyaml
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyinfra"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires SSH binary
|
||||
"test_load_ssh_config"
|
||||
];
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue