Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
900 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, paramiko, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "mock-ssh-server"; version = "0.9.1"; pyproject = true;
disabled = pythonOlder "3.7";
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 = with lib; { 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 = licenses.mit; maintainers = with maintainers; [ fab ]; };}