Unverified Commit 8cddae7d authored by Matthieu Coudron's avatar Matthieu Coudron Committed by GitHub
Browse files

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

parents bba2a6df 17409fdb
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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=";
  };

+0 −4
Original line number Diff line number Diff line
@@ -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;