blob: f94b13833c22388e21e01780b64d1da7fe851cee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
paramiko,
setuptools,
}:
buildPythonPackage rec {
pname = "mock-ssh-server";
version = "0.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "carletes";
repo = "mock-ssh-server";
tag = version;
hash = "sha256-yJd+WDidW5ouofytAKTlSiZhIQg2cLs8BvEp15qwtjo=";
};
build-system = [ setuptools ];
dependencies = [ paramiko ];
# Tests are running into a timeout on Hydra, they work locally
doCheck = false;
pythonImportsCheck = [ "mockssh" ];
meta = {
description = "Python mock SSH server for testing purposes";
homepage = "https://github.com/carletes/mock-ssh-server";
changelog = "https://github.com/carletes/mock-ssh-server/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|