mirror of
https://github.com/anotherhadi/nur-packages.git
synced 2026-10-05 11:18:25 +02:00
34 lines
694 B
Nix
34 lines
694 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "revshell";
|
|
version = "0.8.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Gubarz";
|
|
repo = "revshell";
|
|
rev = "v${version}";
|
|
hash = "sha256-rCj8CT3VOsocvF1CVlimhuAsxsB91axp7oBUxxinZF4=";
|
|
};
|
|
|
|
vendorHash = "sha256-yC6O/+yvC0U8cms0sxfLNNb2/Q6MpACAltf7J7L1HWM=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/Gubarz/revshell/cmd.version=${version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "CLI reverse shell generator";
|
|
homepage = "https://github.com/Gubarz/revshell";
|
|
license = lib.licenses.unlicense;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [];
|
|
mainProgram = "revshell";
|
|
};
|
|
}
|