Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "ssh-chat"; 9 version = "1.10.1"; 10 11 src = fetchFromGitHub { 12 owner = "shazow"; 13 repo = "ssh-chat"; 14 rev = "v${version}"; 15 hash = "sha256-LgrqIuM/tLC0JqDai2TLu6G/edZ5Q7WFXjX5bzc0Bcc="; 16 }; 17 18 vendorHash = "sha256-QTUBorUAsWDOpNP3E/Y6ht7ZXZViWBbrMPtLl7lHtgE="; 19 20 meta = with lib; { 21 description = "Chat over SSH"; 22 mainProgram = "ssh-chat"; 23 homepage = "https://github.com/shazow/ssh-chat"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ ]; 26 }; 27}