diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-11-03 23:53:25 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-11-04 17:09:50 +0000 |
commit | 8923737cd5d386c3eafdf8f84fa1aad1a77a4368 (patch) | |
tree | bf7ef28fe9949e0e531b84e0652eb5ebbf716369 /pkgs/development/ocaml-modules/janestreet | |
parent | a9f13a4614da12a9582cc355dab966269a3e5847 (diff) | |
download | nixlib-8923737cd5d386c3eafdf8f84fa1aad1a77a4368.tar nixlib-8923737cd5d386c3eafdf8f84fa1aad1a77a4368.tar.gz nixlib-8923737cd5d386c3eafdf8f84fa1aad1a77a4368.tar.bz2 nixlib-8923737cd5d386c3eafdf8f84fa1aad1a77a4368.tar.lz nixlib-8923737cd5d386c3eafdf8f84fa1aad1a77a4368.tar.xz nixlib-8923737cd5d386c3eafdf8f84fa1aad1a77a4368.tar.zst nixlib-8923737cd5d386c3eafdf8f84fa1aad1a77a4368.zip |
ocamlPackages.sexplib: 0.9.2 -> 0.9.3
Diffstat (limited to 'pkgs/development/ocaml-modules/janestreet')
-rw-r--r-- | pkgs/development/ocaml-modules/janestreet/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/janestreet/default.nix b/pkgs/development/ocaml-modules/janestreet/default.nix index 4aabb976ee17..7cddf0507df7 100644 --- a/pkgs/development/ocaml-modules/janestreet/default.nix +++ b/pkgs/development/ocaml-modules/janestreet/default.nix @@ -1,17 +1,24 @@ { stdenv, lib, janePackage, ocaml, ocamlbuild, cryptokit, ctypes, magic-mime, - ocaml-migrate-parsetree, octavius, ounit, ppx_deriving, re, zarith, + ocaml-migrate-parsetree, octavius, ounit, ppx_deriving, re, zarith, num, openssl }: rec { # Jane Street packages, up to ppx_core - sexplib = janePackage { + sexplib = janePackage ({ name = "sexplib"; - version = "0.9.2"; - hash = "0szj7gi5ksy7kif5g71rkr6xhxc41xl8hq6s5zz610cjyngzyzjl"; meta.description = "Automated S-expression conversion"; - }; + } // (if lib.versionAtLeast ocaml.version "4.05" + then { + version = "0.9.3"; + hash = "0a2sqh235ja3qwy7b2k3qym2616dz7369a195qwi6ljy3cnh7s53"; + buildInputs = [ num ]; + } else { + version = "0.9.2"; + hash = "0szj7gi5ksy7kif5g71rkr6xhxc41xl8hq6s5zz610cjyngzyzjl"; + } + )); base = janePackage { name = "base"; |