From 0838cd0f89a1a40bfd86f1bf47d53b549b83cf12 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Aug 2026 14:18:33 +0200 Subject: [PATCH] uncover: add nix-update-script --- pkgs/by-name/un/uncover/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/un/uncover/package.nix b/pkgs/by-name/un/uncover/package.nix index 41fe96a1dbc7..62d8148ee103 100644 --- a/pkgs/by-name/un/uncover/package.nix +++ b/pkgs/by-name/un/uncover/package.nix @@ -2,6 +2,7 @@ lib, buildGoModule, fetchFromGitHub, + nix-update-script, versionCheckHook, }: @@ -24,20 +25,19 @@ buildGoModule (finalAttrs: { nativeInstallCheckInputs = [ versionCheckHook ]; - ldflags = [ - "-s" - "-w" - ]; + ldflags = [ "-s" ]; doInstallCheck = true; + passthru.updateScript = nix-update-script { }; + meta = { description = "API wrapper to search for exposed hosts"; longDescription = '' uncover is a go wrapper using APIs of well known search engines to quickly discover exposed hosts on the internet. It is built with automation in mind, so you can query it and utilize the results with your current pipeline tools. - Currently, it supports shodan,shodan-internetdb, censys, and fofa search API. + Currently, it supports shodan, shodan-internetdb, censys, and fofa search API. ''; homepage = "https://github.com/projectdiscovery/uncover"; changelog = "https://github.com/projectdiscovery/uncover/releases/tag/${finalAttrs.src.tag}";