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