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 16 src = fetchFromGitHub { 17 owner = "ParallelSSH"; 18 repo = "parallel-ssh"; 19 tag = version; 20 hash = "sha256-TeNQitaNVbK96Aui8OcKin2sHpF8VlMQmb5ODT2lQh4="; 21 }; 22 23 build-system = [ 24 setuptools 25 ]; 26 27 dependencies = [ 28 gevent 29 ssh-python 30 ssh2-python 31 ]; 32 33 pythonImportsCheck = [ "pssh" ]; 34 35 nativeCheckInputs = [ 36 unittestCheckHook 37 ]; 38 39 meta = { 40 description = "Asynchronous parallel SSH client library"; 41 homepage = "https://github.com/ParallelSSH/parallel-ssh"; 42 changelog = "https://github.com/ParallelSSH/parallel-ssh/blob/${src.tag}/Changelog.rst"; 43 license = lib.licenses.lgpl21Only; 44 maintainers = with lib.maintainers; [ infinidoge ]; 45 }; 46}