ocamlPackages.bignum: init at 0.13

This commit is contained in:
Aaron L. Zeng 2020-10-20 02:48:38 -04:00 committed by Vincent Laporte
parent e140227fe3
commit d240c4e1d1
2 changed files with 15 additions and 1 deletions

View file

@ -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 {

View file

@ -1029,7 +1029,7 @@ let
janeStreet =
if lib.versionOlder "4.08" ocaml.version
then import ../development/ocaml-modules/janestreet/0.13.nix {
inherit ctypes dune-configurator janePackage num octavius ppxlib re;
inherit ctypes dune-configurator janePackage num octavius ppxlib re zarith;
inherit (pkgs) openssl;
}
else if lib.versionOlder "4.07" ocaml.version