File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ stdenv ,
3+ fetchurl ,
4+ lib ,
5+ } :
6+ stdenv . mkDerivation {
7+ name = "aztec" ;
8+ srcs = [
9+ ( fetchurl {
10+ url = "https://install.aztec.network/.aztec-run" ;
11+ hash = "sha256-sM7MgpyDpySicUECwK4TKLvn46qZ7P9GIG++nUMRHyo=" ;
12+ } )
13+ ( fetchurl {
14+ url = "https://install.aztec.network/aztec" ;
15+ hash = "sha256-3Ze2sTnEV9Nqso5lLRNUEi214LcoDbFLfGz51bq5T+k=" ;
16+ } )
17+ ( fetchurl {
18+ url = "https://install.aztec.network/aztec-up" ;
19+ hash = "sha256-Nb6yQt9/k608hEwT6QH2BvjTJ8dinAKbT1gtwP6ClFk=" ;
20+ } )
21+ ( fetchurl {
22+ url = "https://install.aztec.network/aztec-nargo" ;
23+ hash = "sha256-+Eq1fdEyYihMa5RNQiaMC2319jjCm9Vz4MNIddMRkKY=" ;
24+ } )
25+ ( fetchurl {
26+ url = "https://install.aztec.network/aztec-wallet" ;
27+ hash = "sha256-JHd5kn1x3UlGVJgk7YPn8pomDFspJKaZFYPT34yQY+s=" ;
28+ } )
29+ ] ;
30+ sourceRoot = "." ;
31+ unpackCmd = "cp $curSrc $(basename $(stripHash $curSrc))" ;
32+ installPhase = ''
33+ mkdir -p $out/bin
34+ cp -r * .* $out/bin/
35+ mv $out/bin/aztec-run $out/bin/.aztec-run
36+ '' ;
37+ meta . mainProgram = "aztec" ;
38+ }
Original file line number Diff line number Diff line change 6161 }
6262 // optionalAttrs ( system == "x86_64-linux" || system == "aarch64-darwin" ) {
6363 secret = import ./secret { inherit inputs' pkgs ; } ;
64+ aztec = pkgs . callPackage ./aztec { } ;
6465 }
6566 // optionalAttrs isLinux {
6667 folder-size-metrics = pkgs . callPackage ./folder-size-metrics { } ;
You can’t perform that action at this time.
0 commit comments