1 { buildGoModule, fetchFromGitHub, lib, lightwalletd, testers }:
4 pname = "lightwalletd";
7 src = fetchFromGitHub {
11 hash = "sha256-M9xfV2T8L+nssrJj29QmPiErNMpfpT8BY/30Vj8wPjY=";
14 vendorHash = "sha256-z5Hs+CkPswWhz+Ya5MyHKA3MZzQkvS7WOxNckElkg6U=";
18 "-X github.com/zcash/lightwalletd/common.Version=v${version}"
19 "-X github.com/zcash/lightwalletd/common.GitCommit=${src.rev}"
20 "-X github.com/zcash/lightwalletd/common.BuildDate=1970-01-01"
21 "-X github.com/zcash/lightwalletd/common.BuildUser=nixbld"
30 passthru.tests.version = testers.testVersion {
31 package = lightwalletd;
32 command = "lightwalletd version";
33 version = "v${lightwalletd.version}";
37 description = "A backend service that provides a bandwidth-efficient interface to the Zcash blockchain";
38 homepage = "https://github.com/zcash/lightwalletd";
39 maintainers = with maintainers; [ centromere ];
40 license = licenses.mit;