Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "shellz"; 8 version = "1.6.0"; 9 10 src = fetchFromGitHub { 11 owner = "evilsocket"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "1mhl1y0jkycyl1hgwxavxkm1f6kdx1sz3bvpmkr46sdijji06imi"; 15 }; 16 17 vendorSha256 = "14rd9xd7s5sfmxgv5p9ka8x12xcimv5hrq7hzy0d1c3ddf50rr7n"; 18 19 ldflags = [ 20 "-s" 21 "-w" 22 ]; 23 24 meta = with lib; { 25 description = "Utility to manage your SSH, telnet, kubernetes, winrm, web or any custom shell"; 26 homepage = "https://github.com/evilsocket/shellz"; 27 license = licenses.gpl3Only; 28 maintainers = with maintainers; [ fab ]; 29 }; 30}