blob: fc15fe0ab84066e3f320f08b6a626088396cf398 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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";
};
}
|