at 22.05-pre 30 lines 839 B view raw
1{ lib, buildGoModule, fetchFromGitea, asciidoctor, installShellFiles }: 2 3buildGoModule rec { 4 pname = "webcat"; 5 version = "unstable-2021-09-06"; 6 7 src = fetchFromGitea { 8 domain = "codeberg.org"; 9 owner = "rumpelsepp"; 10 repo = "webcat"; 11 rev = "57a65558f0affac0b2f8f4831c52964eb9ad5386"; 12 sha256 = "15c62sjr15l5hwkvc4xarfn76341wi16pjv9qbr1agaz1vqgr6rd"; 13 }; 14 15 vendorSha256 = "1apnra58mqrazbq53f0qlqnyyhjdvvdz995yridxva0fxmwpwcjy"; 16 17 nativeBuildInputs = [ asciidoctor installShellFiles ]; 18 19 postInstall = '' 20 make -C man man 21 installManPage man/webcat.1 22 ''; 23 24 meta = with lib; { 25 homepage = "https://rumpelsepp.org/blog/ssh-through-websocket/"; 26 description = "The lightweight swiss army knife for websockets"; 27 license = licenses.gpl3Only; 28 maintainers = with maintainers; [ montag451 ]; 29 }; 30}