|
|
|
@ -1,9 +1,11 @@ |
|
|
|
|
{ lib, buildPythonPackage, fetchPypi |
|
|
|
|
{ lib |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchPypi |
|
|
|
|
, cryptography |
|
|
|
|
, invoke |
|
|
|
|
, mock |
|
|
|
|
, paramiko |
|
|
|
|
, pytest |
|
|
|
|
, pytestCheckHook |
|
|
|
|
, pytest-relaxed |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
@ -23,20 +25,21 @@ buildPythonPackage rec { |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ invoke paramiko cryptography ]; |
|
|
|
|
checkInputs = [ pytest mock pytest-relaxed ]; |
|
|
|
|
|
|
|
|
|
# requires pytest_relaxed, which doesnt have official support for pytest>=5 |
|
|
|
|
# https://github.com/bitprophet/pytest-relaxed/issues/12 |
|
|
|
|
checkInputs = [ pytestCheckHook pytest-relaxed mock ]; |
|
|
|
|
|
|
|
|
|
# ==================================== ERRORS ==================================== |
|
|
|
|
# ________________________ ERROR collecting test session _________________________ |
|
|
|
|
# Direct construction of SpecModule has been deprecated, please use SpecModule.from_parent |
|
|
|
|
# See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. |
|
|
|
|
doCheck = false; |
|
|
|
|
checkPhase = '' |
|
|
|
|
pytest tests |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "fabric" ]; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Pythonic remote execution"; |
|
|
|
|
homepage = "https://www.fabfile.org/"; |
|
|
|
|
license = licenses.bsd2; |
|
|
|
|
homepage = "https://www.fabfile.org/"; |
|
|
|
|
license = licenses.bsd2; |
|
|
|
|
maintainers = [ maintainers.costrouc ]; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|