1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/Fabric/default.nix
2019-08-20 16:06:15 -07:00

33 lines
645 B
Nix

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