python3Packages.webssh: switch to pytestCheckHook

This commit is contained in:
Fabian Affolter 2021-11-30 15:47:23 +01:00 committed by Jonathan Ringer
parent a008c576cf
commit b36da4216a
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,21 +1,37 @@
{ lib, buildPythonPackage, fetchPypi, tornado, paramiko }:
{ 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 = [ tornado paramiko ];
propagatedBuildInputs = [
paramiko
tornado
];
pythonImportsCheck = [ "webssh" ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"webssh"
];
meta = with lib; {
description = "Web based SSH client";
homepage = "https://github.com/huashengdun/webssh/";
description = "Web based ssh client";
license = licenses.mit;
maintainers = with maintainers; [ davidtwco ];
};