cdncheck: migrate to finalAttrs
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user