nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 806 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 = { 33 homepage = "https://rumpelsepp.org/blog/ssh-through-websocket/"; 34 description = "Lightweight swiss army knife for websockets"; 35 license = lib.licenses.gpl3Only; 36 maintainers = with lib.maintainers; [ montag451 ]; 37 mainProgram = "webcat"; 38 }; 39}