uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
43
pkgs/applications/blockchains/lightwalletd/default.nix
Normal file
43
pkgs/applications/blockchains/lightwalletd/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib, lightwalletd, testers }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lightwalletd";
|
||||
version = "0.4.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zcash";
|
||||
repo = "lightwalletd";
|
||||
rev = "68789356fb1a75f62735a529b38389ef08ea7582";
|
||||
sha256 = "sha256-7gZhr6YMarGdgoGjg+oD4nZ/SAJ5cnhEDKmA4YMqJTo=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X github.com/zcash/lightwalletd/common.Version=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"
|
||||
];
|
||||
|
||||
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.darwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue