nixpkgs/pkgs/tools/misc/webcat/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
791 B
Nix
Raw Normal View History

2023-08-01 05:45:08 +02:00
{ lib, buildGoModule, fetchFromGitHub, asciidoctor, installShellFiles }:
2021-10-03 21:03:21 +02:00
buildGoModule rec {
pname = "webcat";
2023-08-01 05:45:08 +02:00
version = "0.2.0";
2021-10-03 21:03:21 +02:00
2023-08-01 05:45:08 +02:00
src = fetchFromGitHub {
2021-10-03 21:03:21 +02:00
owner = "rumpelsepp";
repo = "webcat";
2023-08-01 05:45:08 +02:00
rev = "v${version}";
hash = "sha256-JyZHH8JgS3uoNVicx1wj0SAzlrXyTrpwIBZuok6buRw=";
2021-10-03 21:03:21 +02:00
};
2023-08-01 05:45:08 +02:00
vendorHash = "sha256-duVp/obT+5M4Dl3BAdSgRaP3+LKmS0y51loMMdoGysw=";
2021-10-03 21:03:21 +02:00
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 ];
2023-11-27 02:17:53 +01:00
mainProgram = "webcat";
2021-10-03 21:03:21 +02:00
};
}