Merge pull request #186665 from marsam/update-hyperledger
hyperledger-fabric: 2.4.3 -> 2.4.6
This commit is contained in:
commit
3d756e47e2
1 changed files with 8 additions and 8 deletions
|
@ -5,14 +5,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "hyperledger-fabric";
|
||||
version = "2.4.3";
|
||||
commit = "9711fb5d0c16297584f5c53123f589110828736f";
|
||||
version = "2.4.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyperledger";
|
||||
repo = "fabric";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-gXVahzpuIUWAHq4gJ1rbq943zIuWrl/ojDMQDFfI14I=";
|
||||
sha256 = "sha256-Q0qrDPih3M4YCzjhLFBy51qVvoICwwn1LJf63rYiUUg=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
@ -33,11 +32,12 @@ buildGoModule rec {
|
|||
"cmd/peer"
|
||||
];
|
||||
|
||||
ldflags = lib.mapAttrsToList
|
||||
(n: v: "github.com/hyperledger/fabric/common/metadata.${n}=${v}") {
|
||||
Version = version;
|
||||
CommitSha = commit;
|
||||
};
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/hyperledger/fabric/common/metadata.Version=${version}"
|
||||
"-X github.com/hyperledger/fabric/common/metadata.CommitSha=${src.rev}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "High-performance, secure, permissioned blockchain network";
|
||||
|
|
Loading…
Reference in a new issue