1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 fetchPypi, 6 paramiko, 7 pytestCheckHook, 8 tornado, 9}: 10 11buildPythonPackage rec { 12 pname = "webssh"; 13 version = "1.6.2"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-mRestRJukaf7ti3vIs/MM/R+zpGmK551j5HAM2chBsE="; 19 }; 20 21 patches = [ 22 ./remove-typo-in-test-case.patch 23 ]; 24 25 propagatedBuildInputs = [ 26 paramiko 27 tornado 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "webssh" ]; 33 34 meta = with lib; { 35 description = "Web based SSH client"; 36 mainProgram = "wssh"; 37 homepage = "https://github.com/huashengdun/webssh/"; 38 changelog = "https://github.com/huashengdun/webssh/releases/tag/v${version}"; 39 license = licenses.mit; 40 maintainers = [ ]; 41 broken = stdenv.hostPlatform.isDarwin; 42 }; 43}