2019-08-21 01:06:15 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, cryptography
|
2018-10-10 20:27:51 +02:00
|
|
|
, invoke
|
2019-08-21 01:06:15 +02:00
|
|
|
, mock
|
2018-10-10 20:27:51 +02:00
|
|
|
, paramiko
|
|
|
|
, pytest
|
|
|
|
, pytest-relaxed
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fabric";
|
2019-08-21 01:06:15 +02:00
|
|
|
version = "2.5.0";
|
2018-10-10 20:27:51 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-21 01:06:15 +02:00
|
|
|
sha256 = "19nzdibjfndzcwvby20p59igqwyzw7skrb45v2mxqsjma5yjv114";
|
2018-10-10 20:27:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ invoke paramiko cryptography ];
|
|
|
|
checkInputs = [ pytest mock pytest-relaxed ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests
|
|
|
|
'';
|
|
|
|
|
2019-08-21 01:06:15 +02:00
|
|
|
meta = with lib; {
|
2018-10-10 20:27:51 +02:00
|
|
|
description = "Pythonic remote execution";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.fabfile.org/";
|
2018-10-10 20:27:51 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|