39 lines
828 B
Nix
39 lines
828 B
Nix
|
{ lib
|
||
|
, buildPackages
|
||
|
, fetchFromGitHub
|
||
|
, rustfmt
|
||
|
, rustPlatform
|
||
|
}:
|
||
|
|
||
|
rustPlatform.buildRustPackage rec {
|
||
|
pname = "zecwallet-light-cli";
|
||
|
version = "1.7.7";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "adityapk00";
|
||
|
repo = pname;
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-8qr6GIldJcybQwXbdZxFVGvFPJErLpqCEIuGJw1z0qQ=";
|
||
|
};
|
||
|
|
||
|
cargoLock = {
|
||
|
lockFile = ./Cargo.lock;
|
||
|
outputHashes = {
|
||
|
"equihash-0.1.0" = "sha256-/QJoQKBJajNofD71e5rNVzYSw3WqXlIXPVE1BIaKGmE=";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
rustfmt
|
||
|
];
|
||
|
|
||
|
env.PROTOC = lib.getExe buildPackages.protobuf;
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Zecwallet-Lite is z-Addr first lightwallet for Zcash";
|
||
|
homepage = "https://github.com/adityapk00/zecwallet-light-cli";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ colinsane ];
|
||
|
};
|
||
|
}
|