File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-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-hLLneMb+RE/+btcIz/pK54Diz5N8i4tsKz+1zZatlPQ=" ;
12+ } )
13+ ( fetchurl {
14+ url = "https://install.aztec.network/aztec" ;
15+ hash = "sha256-Z3tst1Fn5dQibZzaSnXzPz3DPwY6bkiRSeilM5DZbro=" ;
16+ } )
17+ ( fetchurl {
18+ url = "https://install.aztec.network/aztec-up" ;
19+ hash = "sha256-9mJWn+cj8loFkw/RhpV/y1rGapMYYTmiCiDmUJqeqdc=" ;
20+ } )
21+ ( fetchurl {
22+ url = "https://install.aztec.network/aztec-nargo" ;
23+ hash = "sha256-9T9m/Ops1O/uYKNIaBxZ9RC+q7ADQnMjRDU4oTbSORA=" ;
24+ } )
25+ ( fetchurl {
26+ url = "https://install.aztec.network/aztec-wallet" ;
27+ hash = "sha256-WZvmrVWEnxVRh/zwhaTk6PWSHBD8ElgX8ivODFUUZzU=" ;
28+ } )
29+ ] ;
30+ sourceRoot = "." ;
31+ unpackCmd = ''
32+ curTrg=$(basename $(stripHash $curSrc))
33+ cp $curSrc $curTrg
34+ chmod +x $curTrg
35+ '' ;
36+ installPhase = ''
37+ mkdir -p $out/bin
38+ cp -r * .* $out/bin/
39+ mv $out/bin/aztec-run $out/bin/.aztec-run
40+ '' ;
41+ meta . mainProgram = "aztec" ;
42+ }
Original file line number Diff line number Diff line change 6060 }
6161 // optionalAttrs ( system == "x86_64-linux" || system == "aarch64-darwin" ) {
6262 secret = import ./secret { inherit inputs' pkgs ; } ;
63+ aztec = pkgs . callPackage ./aztec { } ;
6364 }
6465 // optionalAttrs isLinux {
6566 folder-size-metrics = pkgs . callPackage ./folder-size-metrics { } ;
You can’t perform that action at this time.
0 commit comments