cdncheck: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-11 11:00:30 +01:00
committed by GitHub
parent 01b28507b0
commit 4e995768ea
+4 -4
View File
@@ -4,14 +4,14 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "cdncheck";
version = "1.2.18";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "cdncheck";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-RFA/5fCh9csa6nYoVmuZ5vs6JCaTVFUuEz0E8w7Rb/s=";
};
@@ -34,9 +34,9 @@ buildGoModule rec {
meta = {
description = "Tool to detect various technology for a given IP address";
homepage = "https://github.com/projectdiscovery/cdncheck";
changelog = "https://github.com/projectdiscovery/cdncheck/releases/tag/v${version}";
changelog = "https://github.com/projectdiscovery/cdncheck/releases/tag/v${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "cdncheck";
};
}
})