1{ lib, buildPythonPackage, fetchPypi
2, cryptography
3, invoke
4, mock
5, paramiko
6, pytest
7, pytest-relaxed
8}:
9
10buildPythonPackage rec {
11 pname = "fabric";
12 version = "2.5.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "19nzdibjfndzcwvby20p59igqwyzw7skrb45v2mxqsjma5yjv114";
17 };
18
19 propagatedBuildInputs = [ invoke paramiko cryptography ];
20 checkInputs = [ pytest mock pytest-relaxed ];
21
22 checkPhase = ''
23 pytest tests
24 '';
25
26 meta = with lib; {
27 description = "Pythonic remote execution";
28 homepage = https://www.fabfile.org/;
29 license = licenses.bsd2;
30 maintainers = [ maintainers.costrouc ];
31 };
32}