depot/third_party/nixpkgs/pkgs/development/python-modules/webssh/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

45 lines
819 B
Nix

{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, paramiko
, pytestCheckHook
, tornado
}:
buildPythonPackage rec {
pname = "webssh";
version = "1.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-yqjwahh2METXD83geTGt5sUL+vmxbrYxj4KtwTxbD94=";
};
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; {
broken = stdenv.isDarwin;
description = "Web based SSH client";
homepage = "https://github.com/huashengdun/webssh/";
license = licenses.mit;
maintainers = with maintainers; [ davidtwco ];
};
}