hyperledger-fabric: 2.4.3 -> 2.4.6

This commit is contained in:
Mario Rodas 2022-08-12 04:20:00 +00:00
parent 6512b21eab
commit bb17d4e059

View File

@ -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";