golds: 0.7.1 -> 0.7.2

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
phanirithvij 2024-12-14 07:17:20 +05:30
parent 11b181e2e1
commit e27e6904fe

View File

@ -2,19 +2,18 @@
lib,
buildGoModule,
fetchFromGitHub,
testers,
golds, # self
versionCheckHook,
}:
buildGoModule rec {
pname = "golds";
version = "0.7.1";
version = "0.7.2";
src = fetchFromGitHub {
owner = "go101";
repo = "golds";
tag = "v${version}";
hash = "sha256-6YkyKJtSAFFYidMlZXSjNpjyIIaTlibg/QMMin/NbU0=";
hash = "sha256-ExvCVGWYAngasnDHVzBLeLmms4cFNcQ/KzuE4t3r36A=";
};
# nixpkgs is not using the go distpack archive and missing a VERSION file in the source
@ -26,10 +25,9 @@ buildGoModule rec {
ldflags = [ "-s" ];
passthru.tests.version = testers.testVersion {
package = golds;
version = "v${version}";
};
nativeCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
meta = {
description = "Experimental Go local docs server/generator and code reader implemented with some fresh ideas";