python312Packages.mock-ssh-server: refactor (#353110)

This commit is contained in:
Fabian Affolter 2024-11-04 09:10:53 +01:00 committed by GitHub
commit deaf8d7c04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,23 +4,26 @@
fetchFromGitHub,
paramiko,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "mock-ssh-server";
version = "0.9.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "carletes";
repo = pname;
repo = "mock-ssh-server";
rev = "refs/tags/${version}";
hash = "sha256-yJd+WDidW5ouofytAKTlSiZhIQg2cLs8BvEp15qwtjo=";
};
propagatedBuildInputs = [ paramiko ];
build-system = [ setuptools ];
dependencies = [ paramiko ];
# Tests are running into a timeout on Hydra, they work locally
doCheck = false;