summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/janestreet
diff options
context:
space:
mode:
authorAaron L. Zeng <me@bcc32.com>2020-10-20 02:48:38 -0400
committerVincent Laporte <vbgl@users.noreply.github.com>2020-10-27 16:04:06 +0100
commitd240c4e1d1d92b9b4b0a9ab56b5ffdce64212fdb (patch)
treeb1a7aed3f18e7617f6cfc4c9bddd339ff624834a /pkgs/development/ocaml-modules/janestreet
parente140227fe359324fee6c0215392d0b8206779bca (diff)
downloadnixpkgs-d240c4e1d1d92b9b4b0a9ab56b5ffdce64212fdb.tar
nixpkgs-d240c4e1d1d92b9b4b0a9ab56b5ffdce64212fdb.tar.gz
nixpkgs-d240c4e1d1d92b9b4b0a9ab56b5ffdce64212fdb.tar.bz2
nixpkgs-d240c4e1d1d92b9b4b0a9ab56b5ffdce64212fdb.tar.lz
nixpkgs-d240c4e1d1d92b9b4b0a9ab56b5ffdce64212fdb.tar.xz
nixpkgs-d240c4e1d1d92b9b4b0a9ab56b5ffdce64212fdb.tar.zst
nixpkgs-d240c4e1d1d92b9b4b0a9ab56b5ffdce64212fdb.zip
ocamlPackages.bignum: init at 0.13
Diffstat (limited to 'pkgs/development/ocaml-modules/janestreet')
-rw-r--r--pkgs/development/ocaml-modules/janestreet/0.13.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/janestreet/0.13.nix b/pkgs/development/ocaml-modules/janestreet/0.13.nix
index 3bea83f0d2b..4266b499d17 100644
--- a/pkgs/development/ocaml-modules/janestreet/0.13.nix
+++ b/pkgs/development/ocaml-modules/janestreet/0.13.nix
@@ -6,6 +6,7 @@
 , ppxlib
 , re
 , openssl
+, zarith
 }:
 
 rec {
@@ -543,6 +544,19 @@ rec {
     meta.description = "S-expression swiss knife";
   };
 
+  zarith_stubs_js = janePackage {
+    pname = "zarith_stubs_js";
+    hash = "0dldnf85rfyx8z63qjly9n8plj8nnkw4i5zrj5vbm7s2wjcfjzj1";
+    meta.description = "Javascripts stubs for the Zarith library";
+  };
+
+  bignum = janePackage {
+    pname = "bignum";
+    hash = "0qldyl5mhlffnyps7n9y8qykm0ylrdiw5ii8zlww82zmmpp8zv5x";
+    propagatedBuildInputs = [ core_kernel zarith zarith_stubs_js ];
+    meta.description = "Core-flavoured wrapper around zarith's arbitrary-precision rationals";
+  };
+
   ### Packages at version 0.11, with dependencies at version 0.12
 
   configurator = janePackage {