blob: ed89c26943f8da29f546db7b12c3113f6e82f969 (
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
|
{ pkgs
, buildPythonPackage
, fetchPypi
, invoke
, paramiko
, cryptography
, pytest
, mock
, pytest-relaxed
}:
buildPythonPackage rec {
pname = "fabric";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "93684ceaac92e0b78faae551297e29c48370cede12ff0f853cdebf67d4b87068";
};
propagatedBuildInputs = [ invoke paramiko cryptography ];
checkInputs = [ pytest mock pytest-relaxed ];
# ignore subprocess main errors (1) due to hardcoded /bin/bash
checkPhase = ''
rm tests/main.py
pytest tests
'';
meta = with pkgs.lib; {
description = "Pythonic remote execution";
homepage = https://www.fabfile.org/;
license = licenses.bsd2;
maintainers = [ maintainers.costrouc ];
};
}
|