Unverified Commit 4e995768 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

cdncheck: migrate to finalAttrs

parent 01b28507
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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";
  };
}
})