mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 21:27:36 +00:00
easyeasm: init at 1.0.6
Attack surface management tool https://github.com/g0ldencybersec/EasyEASM
This commit is contained in:
parent
939db8e337
commit
c09da460e4
51
pkgs/by-name/ea/easyeasm/package.nix
Normal file
51
pkgs/by-name/ea/easyeasm/package.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, amass
|
||||
, alterx
|
||||
, oam-tools
|
||||
, subfinder
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "easyeasm";
|
||||
version = "1.0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "g0ldencybersec";
|
||||
repo = "EasyEASM";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-/PhoH+5k63rJL1N3V3IL1TP1oacsBfGfVw/OueN9j8M=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-g+yaVIx4jxpAQ/+WrGKxhVeliYx7nLQe/zsGpxV4Fn4=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/easyeasm \
|
||||
--prefix PATH : "${lib.makeBinPath [
|
||||
amass
|
||||
alterx
|
||||
oam-tools
|
||||
subfinder
|
||||
]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Attack surface management tool";
|
||||
homepage = "https://github.com/g0ldencybersec/EasyEASM";
|
||||
changelog = "https://github.com/g0ldencybersec/EasyEASM/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "easyeasm";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user