diff options
author | Artturi <Artturin@artturin.com> | 2022-05-18 02:43:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 02:43:51 +0300 |
commit | 992d767bfd0fefa33426d36342830b5d2588a132 (patch) | |
tree | edd45c91c62110e9e074f3755aa541792d09d512 /pkgs/applications/blockchains | |
parent | 9f36ebc1f6b9a54d0037525f51c03f962c092187 (diff) | |
parent | 28c3b33165b32a63693b6577e97246f9e58c7dca (diff) |
Merge pull request #173320 from centromere/lightwalletd-0.4.10
lightwalletd: 0.4.9 -> 0.4.10
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/lightwalletd/default.nix | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/pkgs/applications/blockchains/lightwalletd/default.nix b/pkgs/applications/blockchains/lightwalletd/default.nix index 43af8491210a6..1cfd2071e8676 100644 --- a/pkgs/applications/blockchains/lightwalletd/default.nix +++ b/pkgs/applications/blockchains/lightwalletd/default.nix @@ -1,14 +1,14 @@ -{ buildGoModule, fetchFromGitHub, lib }: +{ buildGoModule, fetchFromGitHub, lib, lightwalletd, testers }: buildGoModule rec { pname = "lightwalletd"; - version = "0.4.9"; + version = "0.4.10"; src = fetchFromGitHub { owner = "zcash"; repo = "lightwalletd"; - rev = "v${version}"; - sha256 = "sha256-IksA06V+mP7ZAXXFYLKLacxrDXeMXHAk5w4t7pmobq4="; + rev = "68789356fb1a75f62735a529b38389ef08ea7582"; + sha256 = "sha256-7gZhr6YMarGdgoGjg+oD4nZ/SAJ5cnhEDKmA4YMqJTo="; }; vendorSha256 = null; @@ -16,22 +16,28 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X github.com/zcash/lightwalletd/common.Version=v${version}" - "-X github.com/zcash/lightwalletd/common.GitCommit=v${version}" + "-X github.com/zcash/lightwalletd/common.GitCommit=${src.rev}" "-X github.com/zcash/lightwalletd/common.BuildDate=1970-01-01" "-X github.com/zcash/lightwalletd/common.BuildUser=nixbld" ]; - postFixup = '' - shopt -s extglob - cd $out/bin - rm !(lightwalletd) - ''; + excludedPackages = [ + "genblocks" + "testclient" + "zap" + ]; + + passthru.tests.version = testers.testVersion { + package = lightwalletd; + command = "lightwalletd version"; + version = "v${lightwalletd.version}"; + }; meta = with lib; { description = "A backend service that provides a bandwidth-efficient interface to the Zcash blockchain"; homepage = "https://github.com/zcash/lightwalletd"; maintainers = with maintainers; [ centromere ]; license = licenses.mit; - platforms = platforms.linux; + platforms = platforms.linux ++ platforms.darwin; }; } |