diff --git a/pkgs/by-name/go/golds/package.nix b/pkgs/by-name/go/golds/package.nix index 83f4aaa0ae7ca..de811d147b9c2 100644 --- a/pkgs/by-name/go/golds/package.nix +++ b/pkgs/by-name/go/golds/package.nix @@ -3,17 +3,18 @@ buildGoModule, fetchFromGitHub, versionCheckHook, + nix-update-script, }: buildGoModule rec { pname = "golds"; - version = "0.7.2"; + version = "0.7.4"; src = fetchFromGitHub { owner = "go101"; repo = "golds"; tag = "v${version}"; - hash = "sha256-ExvCVGWYAngasnDHVzBLeLmms4cFNcQ/KzuE4t3r36A="; + hash = "sha256-kVXr/5qJCTjpfRpz2mDIsMRirp5dT5aGo/BlLR9Qp0M="; }; # nixpkgs is not using the go distpack archive and missing a VERSION file in the source @@ -21,7 +22,7 @@ buildGoModule rec { # https://github.com/NixOS/nixpkgs/pull/358316#discussion_r1855322027 patches = [ ./info_module-gover.patch ]; - vendorHash = "sha256-omjHRZB/4VzPhc6RrFY11s6BRD69+Y4RRZ2XdeKbZf0="; + vendorHash = "sha256-Sy9O23iCW8voImPFQkqczPxqGyD5rf0/tKxaRDFgbSs="; ldflags = [ "-s" ]; @@ -29,6 +30,8 @@ buildGoModule rec { versionCheckProgramArg = [ "--version" ]; doInstallCheck = true; + passthru.updateScript = nix-update-script { }; + meta = { description = "Experimental Go local docs server/generator and code reader implemented with some fresh ideas"; homepage = "https://github.com/go101/golds";