File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 103103 } ;
104104 polkadot = polkadot-generic { } ;
105105 polkadot-fast = polkadot-generic { enableFastRuntime = true ; } ;
106+
107+ zokrates = callPackage ./zokrates/default.nix { } ;
106108 in {
107109 legacyPackages . metacraft-labs =
108110 rec {
148150
149151 # Polkadot
150152 inherit polkadot polkadot-fast ;
153+
154+ inherit zokrates ;
151155 }
152156 // lib . optionalAttrs hostPlatform . isLinux rec {
153157 wasmd = callPackage ./wasmd/default.nix { } ;
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchgit ,
4+ stdenv ,
5+ pkgs ,
6+ } :
7+ stdenv . mkDerivation rec {
8+ pname = "zokrates" ;
9+ version = "0.8.4" ;
10+
11+ src = fetchgit {
12+ url = "https://github.com/Zokrates/ZoKrates.git" ;
13+ rev = "v${ version } " ;
14+ sha256 = "sha256-DFfY6FVKvajqbS28xCvRh/Hf+Qi1cx2XZ34gboZG9XE=" ;
15+ } ;
16+
17+ nativeBuildInputs = with pkgs ; [ ] ;
18+ buildInputs = with pkgs ; [ ] ;
19+ }
Original file line number Diff line number Diff line change 3434
3535 metacraft-labs . polkadot
3636 metacraft-labs . polkadot-fast
37+
38+ metacraft-labs . zokrates
3739 ]
3840 ++ lib . optionals ( stdenv . hostPlatform . isx86 ) [
3941 metacraft-labs . rapidsnark
You can’t perform that action at this time.
0 commit comments