zcash: migrate to by-name, modernize derivation (#491082)

This commit is contained in:
Matthieu Coudron
2026-03-19 02:14:06 +00:00
committed by GitHub
3 changed files with 5 additions and 7 deletions
@@ -16,7 +16,7 @@
rustc,
rustPlatform,
pkg-config,
stdenv,
llvmPackages,
testers,
tl-expected,
utf8cpp,
@@ -24,7 +24,9 @@
zcash,
zeromq,
}:
let
stdenv = llvmPackages.stdenv;
in
stdenv.mkDerivation (finalAttrs: {
pname = "zcash";
version = "5.4.2";
@@ -32,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "zcash";
repo = "zcash";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-XGq/cYUo43FcpmRDO2YiNLCuEQLsTFLBFC4M1wM29l8=";
};
-4
View File
@@ -11104,10 +11104,6 @@ with pkgs;
withGui = false;
};
zcash = callPackage ../applications/blockchains/zcash {
stdenv = llvmPackages.stdenv;
};
beancount = with python3.pkgs; toPythonApplication beancount;
beancount_2 = with python3.pkgs; toPythonApplication beancount_2;