blob: 001abb7883a86c4c3f8dc46ef49db41e9c8c1454 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
lib,
buildPythonPackage,
fetchPypi,
cryptography,
decorator,
invoke,
mock,
paramiko,
pytestCheckHook,
pytest-relaxed,
}:
buildPythonPackage rec {
pname = "fabric";
version = "3.2.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-h4PKQuOwB28IsmkBqsa52bHxnEEAdOesz6uQLBhP9KM=";
};
# only relevant to python < 3.4
postPatch = ''
substituteInPlace setup.py \
--replace ', "pathlib2"' ' '
'';
propagatedBuildInputs = [
invoke
paramiko
cryptography
decorator
];
nativeCheckInputs = [
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";
mainProgram = "fab";
homepage = "https://www.fabfile.org/";
license = licenses.bsd2;
maintainers = [ ];
};
}
|