mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-12 07:07:18 +00:00
golds: 0.7.1 -> 0.7.2
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
parent
11b181e2e1
commit
e27e6904fe
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user