Merge pull request #171231 from fabaff/adreaper

adreaper: init at 1.1
This commit is contained in:
Fabian Affolter 2022-05-02 21:19:25 +02:00 committed by GitHub
commit 967263521d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "adreaper";
version = "1.1";
src = fetchFromGitHub {
owner = "AidenPearce369";
repo = "ADReaper";
rev = "ADReaperv${version}";
sha256 = "sha256-+FCb5TV9MUcRyex2M4rn2RhcIsXQFbtm1T4r7MpcRQs=";
};
vendorSha256 = "sha256-lU39kj/uz0l7Rodsu6+UMv2o579eu1KUbutUNZni7bM=";
postInstall = lib.optionalString (!stdenv.isDarwin) ''
mv $out/bin/ADReaper $out/bin/$pname
'';
meta = with lib; {
description = "Enumeration tool for Windows Active Directories";
homepage = "https://github.com/AidenPearce369/ADReaper";
# Upstream doesn't have a license yet
# https://github.com/AidenPearce369/ADReaper/issues/2
license = with licenses; [ unfree ];
maintainers = with maintainers; [ fab ];
mainProgram = "ADReaper";
};
}

View file

@ -14696,6 +14696,8 @@ with pkgs;
actionlint = callPackage ../development/tools/analysis/actionlint { };
adreaper = callPackage ../tools/security/adreaper { };
adtool = callPackage ../tools/admin/adtool { };
inherit (callPackage ../development/tools/alloy {