3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/Fabric/default.nix

33 lines
645 B
Nix
Raw Normal View History

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