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
45
pkgs/development/python-modules/Fabric/default.nix
Normal file
45
pkgs/development/python-modules/Fabric/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cryptography
|
||||
, invoke
|
||||
, mock
|
||||
, paramiko
|
||||
, pytestCheckHook
|
||||
, pytest-relaxed
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fabric";
|
||||
version = "2.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-C/eXpoxLOJcg3E3WGBSXpYxB7XYuKD2ePBsBSLMqmv8=";
|
||||
};
|
||||
|
||||
# only relevant to python < 3.4
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace ', "pathlib2"' ' '
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ invoke paramiko cryptography ];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-relaxed mock ];
|
||||
|
||||
# ==================================== ERRORS ====================================
|
||||
# ________________________ ERROR collecting test session _________________________
|
||||
# Direct construction of SpecModule has been deprecated, please use SpecModule.from_parent
|
||||
# See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "fabric" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pythonic remote execution";
|
||||
homepage = "https://www.fabfile.org/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue