Merge pull request #186665 from marsam/update-hyperledger

hyperledger-fabric: 2.4.3 -> 2.4.6
This commit is contained in:
Mario Rodas 2022-08-14 09:53:51 -05:00 committed by GitHub
commit 3d756e47e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,14 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "hyperledger-fabric"; pname = "hyperledger-fabric";
version = "2.4.3"; version = "2.4.6";
commit = "9711fb5d0c16297584f5c53123f589110828736f";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hyperledger"; owner = "hyperledger";
repo = "fabric"; repo = "fabric";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-gXVahzpuIUWAHq4gJ1rbq943zIuWrl/ojDMQDFfI14I="; sha256 = "sha256-Q0qrDPih3M4YCzjhLFBy51qVvoICwwn1LJf63rYiUUg=";
}; };
vendorSha256 = null; vendorSha256 = null;
@ -33,11 +32,12 @@ buildGoModule rec {
"cmd/peer" "cmd/peer"
]; ];
ldflags = lib.mapAttrsToList ldflags = [
(n: v: "github.com/hyperledger/fabric/common/metadata.${n}=${v}") { "-s"
Version = version; "-w"
CommitSha = commit; "-X github.com/hyperledger/fabric/common/metadata.Version=${version}"
}; "-X github.com/hyperledger/fabric/common/metadata.CommitSha=${src.rev}"
];
meta = with lib; { meta = with lib; {
description = "High-performance, secure, permissioned blockchain network"; description = "High-performance, secure, permissioned blockchain network";