Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 39 lines 808 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 asciidoctor, 6 installShellFiles, 7}: 8 9buildGoModule rec { 10 pname = "webcat"; 11 version = "0.2.0"; 12 13 src = fetchFromGitHub { 14 owner = "rumpelsepp"; 15 repo = "webcat"; 16 rev = "v${version}"; 17 hash = "sha256-JyZHH8JgS3uoNVicx1wj0SAzlrXyTrpwIBZuok6buRw="; 18 }; 19 20 vendorHash = "sha256-duVp/obT+5M4Dl3BAdSgRaP3+LKmS0y51loMMdoGysw="; 21 22 nativeBuildInputs = [ 23 asciidoctor 24 installShellFiles 25 ]; 26 27 postInstall = '' 28 make -C man man 29 installManPage man/webcat.1 30 ''; 31 32 meta = with lib; { 33 homepage = "https://rumpelsepp.org/blog/ssh-through-websocket/"; 34 description = "Lightweight swiss army knife for websockets"; 35 license = licenses.gpl3Only; 36 maintainers = with maintainers; [ montag451 ]; 37 mainProgram = "webcat"; 38 }; 39}