mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
adalanche: init at 2024.1.11
Active Directory ACL Visualizer and Explorer https://github.com/lkarlslund/adalanche
This commit is contained in:
parent
33a869955a
commit
72b6a53308
42
pkgs/by-name/ad/adalanche/package.nix
Normal file
42
pkgs/by-name/ad/adalanche/package.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, libpcap
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "adalanche";
|
||||
version = "2024.1.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lkarlslund";
|
||||
repo = "adalanche";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-SJa2PQCXTYdv5jMucpJOD2gC7Qk2dNdINHW4ZvLXSLw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-3HulDSR6rWyxvImWBH1m5nfUwnUDQO9ALfyT2D8xmJc=";
|
||||
|
||||
buildInputs = [
|
||||
libpcap
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=github.com/lkarlslund/adalanche/modules/version.Version=${version}"
|
||||
];
|
||||
|
||||
env = {
|
||||
CGO_CFLAGS = "-Wno-undef-prefix";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Active Directory ACL Visualizer and Explorer";
|
||||
homepage = "https://github.com/lkarlslund/adalanche";
|
||||
changelog = "https://github.com/lkarlslund/Adalanche/releases/tag/v${version}";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "adalanche";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user