depot/third_party/nixpkgs/pkgs/development/python-modules/Fabric/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
647 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 ];
};
}