1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 paramiko, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "mock-ssh-server"; 12 version = "0.9.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "carletes"; 19 repo = "mock-ssh-server"; 20 tag = version; 21 hash = "sha256-yJd+WDidW5ouofytAKTlSiZhIQg2cLs8BvEp15qwtjo="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ paramiko ]; 27 28 # Tests are running into a timeout on Hydra, they work locally 29 doCheck = false; 30 31 pythonImportsCheck = [ "mockssh" ]; 32 33 meta = with lib; { 34 description = "Python mock SSH server for testing purposes"; 35 homepage = "https://github.com/carletes/mock-ssh-server"; 36 changelog = "https://github.com/carletes/mock-ssh-server/releases/tag/${version}"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}