nixpkgs/pkgs/development/python-modules/webssh/default.nix
2022-04-19 13:04:06 +02:00

44 lines
780 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, paramiko
, pytestCheckHook
, tornado
}:
buildPythonPackage rec {
pname = "webssh";
version = "1.5.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Au6PE8jYm8LkEp0B1ymW//ZkrkcV0BauwufQmrHLEU4=";
};
propagatedBuildInputs = [
paramiko
tornado
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"webssh"
];
disabledTests = [
# Test fails with AttributeError (possibly related to paramiko update)
"test_app_with_bad_host_key"
];
meta = with lib; {
description = "Web based SSH client";
homepage = "https://github.com/huashengdun/webssh/";
license = licenses.mit;
maintainers = with maintainers; [ davidtwco ];
};
}