mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-05-20 17:52:33 +02:00
6e673f5c11
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
22 lines
521 B
Nix
22 lines
521 B
Nix
{
|
|
pkgs,
|
|
buildGoApplication,
|
|
}: let
|
|
pname = "spilltea";
|
|
version = "0.0.6";
|
|
ldflags = ["-s" "-w" "-X main.version=${version}"];
|
|
pkg = buildGoApplication {
|
|
inherit pname version ldflags;
|
|
src = ../.;
|
|
modules = ./gomod2nix.toml;
|
|
meta = with pkgs.lib; {
|
|
description = "A minimal, terminal-based HTTP(S) proxy for pentesters and CTF players.";
|
|
homepage = "https://github.com/anotherhadi/spilltea";
|
|
platforms = platforms.unix;
|
|
};
|
|
};
|
|
in {
|
|
"${pname}" = pkg;
|
|
default = pkg;
|
|
}
|