mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #129351 from centromere/lightwalletd-0.4.7
This commit is contained in:
commit
d83910c5db
@ -1731,6 +1731,12 @@
|
||||
githubId = 977929;
|
||||
name = "Cody Allen";
|
||||
};
|
||||
centromere = {
|
||||
email = "nix@centromere.net";
|
||||
github = "centromere";
|
||||
githubId = 543423;
|
||||
name = "Alex Wied";
|
||||
};
|
||||
cfouche = {
|
||||
email = "chaddai.fouche@gmail.com";
|
||||
github = "Chaddai";
|
||||
|
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;
|
||||
};
|
||||
}
|
@ -28422,6 +28422,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 New Issue
Block a user