My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/sshtunnel/default.nix

33 lines
674 B

{ lib, buildPythonPackage, fetchPypi
, paramiko
, pytestCheckHook
, mock
}:
buildPythonPackage rec {
version = "0.4.0";
pname = "sshtunnel";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-58sOp3Tbgb+RhE2yLecqQKro97D5u5ug9mbUdO9r+fw=";
};
propagatedBuildInputs = [ paramiko ];
checkInputs = [ pytestCheckHook mock ];
# disable impure tests
disabledTests = [
"test_get_keys"
"connect_via_proxy"
"read_ssh_config"
];
meta = with lib; {
description = "Pure python SSH tunnels";
homepage = "https://github.com/pahaz/sshtunnel";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}