lightwalletd: init at 0.4.7
This commit is contained in:
parent
858ee20b8d
commit
2a397ca36a
2 changed files with 39 additions and 0 deletions
37
pkgs/applications/blockchains/lightwalletd/default.nix
Normal file
37
pkgs/applications/blockchains/lightwalletd/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lightwalletd";
|
||||
version = "0.4.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zcash";
|
||||
repo = "lightwalletd";
|
||||
rev = "v${version}";
|
||||
sha256 = "0dwam3fhc4caga7kjg6cc06sz47g4ii7n3sa4j2ac4aiy21hsbjk";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
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.BuildDate=1970-01-01"
|
||||
"-X github.com/zcash/lightwalletd/common.BuildUser=nixbld"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
shopt -s extglob
|
||||
cd $out/bin
|
||||
rm !(lightwalletd)
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -28403,6 +28403,8 @@ in
|
|||
|
||||
zcash = callPackage ../applications/blockchains/zcash { stdenv = llvmPackages_11.stdenv; };
|
||||
|
||||
lightwalletd = callPackage ../applications/blockchains/lightwalletd { };
|
||||
|
||||
openethereum = callPackage ../applications/blockchains/openethereum { };
|
||||
|
||||
parity-ui = callPackage ../applications/blockchains/parity-ui { };
|
||||
|
|
Loading…
Reference in a new issue