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 = "shellz"; 9 version = "1.6.0"; 10 11 src = fetchFromGitHub { 12 owner = "evilsocket"; 13 repo = "shellz"; 14 rev = "v${version}"; 15 hash = "sha256-sUYDopSxaUPyrHev8XXobRoX6uxbdf5goJ75KYEPFNY="; 16 }; 17 18 vendorHash = "sha256-9uQMimttsNCA//DgDMuukXUROlIz3bJfr04XfVpPLZM="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 ]; 24 25 meta = with lib; { 26 description = "Utility to manage your SSH, telnet, kubernetes, winrm, web or any custom shell"; 27 homepage = "https://github.com/evilsocket/shellz"; 28 license = licenses.gpl3Only; 29 maintainers = with maintainers; [ fab ]; 30 mainProgram = "shellz"; 31 }; 32}