mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
47 lines
907 B
Nix
47 lines
907 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, paramiko
|
|
, pytestCheckHook
|
|
, tornado
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "webssh";
|
|
version = "1.6.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-g3RRQUWbjHRaZRVekmETcrHYeVIIpeteCCh7o28jBLY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
paramiko
|
|
tornado
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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/";
|
|
changelog = "https://github.com/huashengdun/webssh/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ davidtwco ];
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|