Skip to content

Commit

Permalink
ocamlPackages.sexplib: 0.9.2 -> 0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Nov 4, 2017
1 parent a9f13a4 commit 8923737
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions 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";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/ocaml-packages.nix
Expand Up @@ -682,7 +682,7 @@ let
janePackage = callPackage ../development/ocaml-modules/janestreet/janePackage.nix {};

janeStreet = import ../development/ocaml-modules/janestreet {
inherit lib janePackage ocaml ocamlbuild ctypes cryptokit magic-mime;
inherit lib janePackage ocaml ocamlbuild ctypes cryptokit magic-mime num;
inherit ocaml-migrate-parsetree octavius ounit ppx_deriving re zarith;
inherit (pkgs) stdenv openssl;
};
Expand Down

0 comments on commit 8923737

Please sign in to comment.