about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-10-19 14:40:23 +0000
committerAlyssa Ross <hi@alyssa.is>2022-01-07 10:22:32 +0000
commitcc62bcb55359ba8c5e0fe3a48e778444c89060d8 (patch)
treeca0e21d44eaf8837b687395e614445f7761d7bbd /nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix
parentd6625e8d25efd829c3cfa227d025ca4e606ae4b7 (diff)
parenta323570a264da96a0b0bcc1c9aa017794acdc752 (diff)
downloadnixlib-cc62bcb55359ba8c5e0fe3a48e778444c89060d8.tar
nixlib-cc62bcb55359ba8c5e0fe3a48e778444c89060d8.tar.gz
nixlib-cc62bcb55359ba8c5e0fe3a48e778444c89060d8.tar.bz2
nixlib-cc62bcb55359ba8c5e0fe3a48e778444c89060d8.tar.lz
nixlib-cc62bcb55359ba8c5e0fe3a48e778444c89060d8.tar.xz
nixlib-cc62bcb55359ba8c5e0fe3a48e778444c89060d8.tar.zst
nixlib-cc62bcb55359ba8c5e0fe3a48e778444c89060d8.zip
Merge commit 'a323570a264da96a0b0bcc1c9aa017794acdc752'
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix28
1 files changed, 16 insertions, 12 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix b/nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix
index 9c5bd45f94f1..532e8fc12b2c 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/tezos/crypto.nix
@@ -1,37 +1,41 @@
 { lib
 , buildDunePackage
 , tezos-stdlib
-, tezos-clic
 , tezos-rpc
-, bls12-381
-, hacl-star
+, tezos-clic
+, tezos-hacl-glue
+, tezos-hacl-glue-unix
 , secp256k1-internal
-, uecc
 , ringo
-, ff
-, alcotest
+, bls12-381
+, bls12-381-unix
+, tezos-test-helpers
 , alcotest-lwt
 }:
 
 buildDunePackage {
   pname = "tezos-crypto";
-  inherit (tezos-stdlib) version src useDune2 preBuild doCheck;
+  inherit (tezos-stdlib) version useDune2;
+  src = "${tezos-stdlib.base_src}/src/lib_crypto";
 
   propagatedBuildInputs = [
-    tezos-clic
     tezos-rpc
-    bls12-381
-    hacl-star
+    tezos-clic
+    tezos-hacl-glue
+    tezos-hacl-glue-unix
     secp256k1-internal
-    uecc
     ringo
+    bls12-381
+    bls12-381-unix
   ];
 
   checkInputs = [
-    alcotest
+    tezos-test-helpers
     alcotest-lwt
   ];
 
+  doCheck = true;
+
   meta = tezos-stdlib.meta // {
     description = "Tezos: library with all the cryptographic primitives used by Tezos";
   };