Merge pull request #284560 from fabaff/easyeasm
oam-tools: init at 0.1.2, easyeasm: init at 1.0.6
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "oam-tools";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "owasp-amass";
|
||||
repo = "oam-tools";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-vt4V8em8Iaz3BVKIqlcAv+VIpJtD58xb3QrkIr4tYuU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-yFKYZlA06yE48Wiz0cKgD57JEREwYyYkLM1NZPV8+Xc=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Analysis and management tools for an Open Asset Model database";
|
||||
homepage = "https://github.com/owasp-amass/oam-tools";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user