yggstack: 0-unstable-2024-07-26 -> 1.0.1

This commit is contained in:
peigongdsd 2024-08-06 07:47:10 +08:00 committed by Emery Hemingway
parent bef98989a2
commit ed59f08ee8

View File

@ -1,26 +1,21 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "yggstack";
version = "0-unstable-2024-07-26";
version = "1.0.1";
src = fetchFromGitHub {
owner = "yggdrasil-network";
repo = "yggstack";
rev = "5a87e43f9a7a0efdb20c9bc9a2e342c335a8767b";
sha256 = "sha256-1/Tr4LYXO+GIDzVAjFmPPsXD6X9ZKs1lFpLy4K4zeMw=";
rev = "${version}";
sha256 = "sha256-RQ7AvVv+VLfgzlb7orZbSB7TNz/hj2fo832ed4WUN80=";
};
vendorHash = "sha256-Sw9FCeZ6kIaEuxJ71XnxbbTdknBomxFuEeEyCSXeJcM=";
vendorHash = "sha256-Hjb3KSh+2qYYKdgv4+dsSp0kAbzz8gu9qnQdA7wB5fA=";
ldflags = [
"-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildVersion=${version}"
"-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildName=${pname}"
"-X github.com/yggdrasil-network/yggdrasil-go/src/config.defaultAdminListen=unix:///var/run/yggdrasil/yggdrasil.sock"
"-s"
"-w"
];