mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
gobgpd: update rev
This commit is contained in:
parent
013b1f79bf
commit
389fce69cb
@ -1,4 +1,7 @@
|
||||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gobgpd";
|
||||
@ -7,8 +10,8 @@ buildGoModule rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "osrg";
|
||||
repo = "gobgp";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aVvzbWMh/r1k3AKDHipWkwEevYPj8Xfix8PfIMYXiTM=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-aVvzbWMh/r1k3AKDHipWkwEevYPj8Xfix8PfIMYXiTM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-9Vi8qrcFC2SazcGVgAf1vbKvxd8rTMgye63wSCaFonk=";
|
||||
@ -18,10 +21,14 @@ buildGoModule rec {
|
||||
'';
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w" "-extldflags '-static'"
|
||||
"-s"
|
||||
"-w"
|
||||
"-extldflags '-static'"
|
||||
];
|
||||
|
||||
subPackages = [ "cmd/gobgpd" ];
|
||||
subPackages = [
|
||||
"cmd/gobgpd"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "BGP implemented in Go";
|
||||
|
Loading…
Reference in New Issue
Block a user