1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 21:39:21 +03:00
nixpkgs/pkgs/development/python-modules/webssh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
901 B
Nix
Raw Normal View History

2022-11-23 17:44:40 +01:00
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, paramiko
, pytestCheckHook
, tornado
}:
buildPythonPackage rec {
pname = "webssh";
2022-11-23 12:16:28 +00:00
version = "1.6.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
2022-11-23 12:16:28 +00:00
hash = "sha256-g3RRQUWbjHRaZRVekmETcrHYeVIIpeteCCh7o28jBLY=";
};
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/";
2022-11-23 17:44:40 +01:00
changelog = "https://github.com/huashengdun/webssh/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ davidtwco ];
2022-11-23 17:44:40 +01:00
broken = stdenv.isDarwin;
};
}