1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 gevent, 7 ssh-python, 8 ssh2-python, 9 unittestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "parallel-ssh"; 14 version = "2.14.0"; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "ParallelSSH"; 19 repo = "parallel-ssh"; 20 tag = version; 21 hash = "sha256-TeNQitaNVbK96Aui8OcKin2sHpF8VlMQmb5ODT2lQh4="; 22 }; 23 24 build-system = [ 25 setuptools 26 ]; 27 28 dependencies = [ 29 gevent 30 ssh-python 31 ssh2-python 32 ]; 33 34 pythonImportsCheck = [ "pssh" ]; 35 36 nativeCheckInputs = [ 37 unittestCheckHook 38 ]; 39 40 meta = { 41 description = "Asynchronous parallel SSH client library"; 42 homepage = "https://github.com/ParallelSSH/parallel-ssh"; 43 changelog = "https://github.com/ParallelSSH/parallel-ssh/blob/${src.tag}/Changelog.rst"; 44 license = lib.licenses.lgpl21Only; 45 maintainers = with lib.maintainers; [ infinidoge ]; 46 }; 47}