depot/third_party/nixpkgs/pkgs/tools/security/gosh/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

31 lines
760 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gosh";
# https://github.com/redcode-labs/GoSH/issues/4
version = "2020523-${lib.strings.substring 0 7 rev}";
rev = "7ccb068279cded1121eacc5a962c14b2064a1859";
src = fetchFromGitHub {
owner = "redcode-labs";
repo = "GoSH";
inherit rev;
sha256 = "143ig0lqnkpnydhl8gnfzhg613x4wc38ibdbikkqwfyijlr6sgzd";
};
vendorSha256 = "06j6cj4m0w6n9vl7sxlxpsgk77k941npq9767rdzzgy2srfqlskq";
runVend = true;
subPackages = [ "." ];
meta = with lib; {
description = "Reverse/bind shell generator";
homepage = "https://github.com/redcode-labs/GoSH";
license = licenses.mit;
maintainers = with maintainers; [ fab ] ++ teams.redcodelabs.members;
};
}