File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ _finalNixpkgs: prevNixpkgs: let
4242 leap = prevNixpkgs . callPackage ./packages/leap/default.nix { } ;
4343 eos-vm = prevNixpkgs . callPackage ./packages/eos-vm/default.nix { } ;
4444 cdt = prevNixpkgs . callPackage ./packages/cdt/default.nix { } ;
45+
46+ zokrates = prevNixpkgs . callPackage ./packages/zokrates/default.nix { } ;
4547in {
4648 metacraft-labs = rec {
4749 solana = solana-full-sdk ;
6062 inherit leap ;
6163 inherit eos-vm ;
6264 inherit cdt ;
65+ inherit zokrates ;
6366 } ;
6467}
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 @@ -14,6 +14,7 @@ with pkgs;
1414 metacraft-labs . circom
1515 metacraft-labs . circ
1616 metacraft-labs . go-opera
17+ metacraft-labs . zokrates
1718 ]
1819 ++ lib . optionals ( ! stdenv . isDarwin ) [
1920 # Solana is still not compatible with macOS on M1
You can’t perform that action at this time.
0 commit comments