adreaper: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-02-12 08:28:04 -06:00
parent 4a7d2060b0
commit 739f7dbcab
+4 -4
View File
@@ -5,14 +5,14 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "adreaper";
version = "1.1";
src = fetchFromGitHub {
owner = "AidenPearce369";
repo = "ADReaper";
rev = "ADReaperv${version}";
rev = "ADReaperv${finalAttrs.version}";
sha256 = "sha256-+FCb5TV9MUcRyex2M4rn2RhcIsXQFbtm1T4r7MpcRQs=";
};
@@ -25,11 +25,11 @@ buildGoModule rec {
meta = {
description = "Enumeration tool for Windows Active Directories";
homepage = "https://github.com/AidenPearce369/ADReaper";
changelog = "https://github.com/AidenPearce369/ADReaper/releases/tag/ADReaperv${version}";
changelog = "https://github.com/AidenPearce369/ADReaper/releases/tag/ADReaperv${finalAttrs.version}";
# Upstream doesn't have a license yet
# https://github.com/AidenPearce369/ADReaper/issues/2
license = with lib.licenses; [ unfree ];
maintainers = with lib.maintainers; [ fab ];
mainProgram = "ADReaper";
};
}
})