mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
python312Packages.mock-ssh-server: refactor (#353110)
This commit is contained in:
commit
deaf8d7c04
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user