Merge pull request #140202 from montag451/webcat

webcat: init at unstable-2021-09-06
This commit is contained in:
figsoda 2021-10-03 15:26:57 -04:00 committed by GitHub
commit 5cbbffa5b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, buildGoModule, fetchFromGitea, asciidoctor, installShellFiles }:
buildGoModule rec {
pname = "webcat";
version = "unstable-2021-09-06";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "rumpelsepp";
repo = "webcat";
rev = "57a65558f0affac0b2f8f4831c52964eb9ad5386";
sha256 = "15c62sjr15l5hwkvc4xarfn76341wi16pjv9qbr1agaz1vqgr6rd";
};
vendorSha256 = "1apnra58mqrazbq53f0qlqnyyhjdvvdz995yridxva0fxmwpwcjy";
nativeBuildInputs = [ asciidoctor installShellFiles ];
postInstall = ''
make -C man man
installManPage man/webcat.1
'';
meta = with lib; {
homepage = "https://rumpelsepp.org/blog/ssh-through-websocket/";
description = "The lightweight swiss army knife for websockets";
license = licenses.gpl3Only;
maintainers = with maintainers; [ montag451 ];
};
}

View file

@ -31603,6 +31603,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
webcat = callPackage ../tools/misc/webcat { };
websocat = callPackage ../tools/misc/websocat {
inherit (darwin.apple_sdk.frameworks) Security;
};