at 23.11-beta 29 lines 763 B view raw
1{ lib, buildGoModule, fetchFromGitHub, asciidoctor, installShellFiles }: 2 3buildGoModule rec { 4 pname = "webcat"; 5 version = "0.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "rumpelsepp"; 9 repo = "webcat"; 10 rev = "v${version}"; 11 hash = "sha256-JyZHH8JgS3uoNVicx1wj0SAzlrXyTrpwIBZuok6buRw="; 12 }; 13 14 vendorHash = "sha256-duVp/obT+5M4Dl3BAdSgRaP3+LKmS0y51loMMdoGysw="; 15 16 nativeBuildInputs = [ asciidoctor installShellFiles ]; 17 18 postInstall = '' 19 make -C man man 20 installManPage man/webcat.1 21 ''; 22 23 meta = with lib; { 24 homepage = "https://rumpelsepp.org/blog/ssh-through-websocket/"; 25 description = "The lightweight swiss army knife for websockets"; 26 license = licenses.gpl3Only; 27 maintainers = with maintainers; [ montag451 ]; 28 }; 29}