File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change 11{ 
22  lib , 
33  fetchgit , 
4-   stdenv , 
54  pkgs , 
65} :
7- stdenv . mkDerivation   rec  { 
8-   pname   =  "zokrates" ; 
9-   version   =  "0.8.4" ; 
6+ with  pkgs ; 
7+   rustPlatform . buildRustPackage   rec  { 
8+     pname   =  "zokrates" ; 
9+     version   =  "0.8.4" ; 
10+     cargoBuildFlags   =  "-p zokrates_cli" ; 
1011
11-   src   =  fetchgit   { 
12-     url   =  "https://github.com/Zokrates/ZoKrates.git" ; 
13-     rev   =  "v ${ version } " ; 
14-     sha256   =  "sha256-DFfY6FVKvajqbS28xCvRh/Hf+Qi1cx2XZ34gboZG9XE =" ; 
15-   } ; 
12+      src   =  fetchgit   { 
13+        url   =  "https://github.com/Zokrates/ZoKrates.git" ; 
14+        rev   =  "${ version } " ; 
15+        sha256   =  "sha256-++xQJjl1cK7PrqOJ8aiA8gmi+QSDB8jiKZ/bNbZnTyw =" ; 
16+      } ; 
1617
17-   nativeBuildInputs   =  with  pkgs ;  [ ] ; 
18-   buildInputs   =  with  pkgs ;  [ ] ; 
19- } 
18+     cargoSha256   =  "sha256-yXCgu07OCDbvatZlPdF2g3ek+0NxOmq31j8xFYbCmpI=" ; 
19+ 
20+     nativeBuildInputs   =  [ pkg-config  rust-bin . nightly . "2022-07-01" . default ] ; 
21+     PKG_CONFIG_PATH   =  "${ openssl . dev } /lib/pkgconfig" ; 
22+ 
23+     buildInputs   =  [ ] ; 
24+   } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments