Skip to content

Commit

Permalink
golds: 0.7.2 -> 0.7.4 (#372628)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Jan 10, 2025
2 parents 905fc0f + c4cfe9b commit 97568a3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkgs/by-name/go/golds/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,35 @@
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
# but we can use go env to get the same information
# 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" ];

nativeCheckInputs = [ versionCheckHook ];
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";
Expand Down

0 comments on commit 97568a3

Please sign in to comment.