about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-03-24 06:36:41 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-03-24 06:36:41 +0000
commitd69e9327806496090cb658e377f76b6fdadaaa9c (patch)
tree4878dd74264ae754bfae0ce8660e51a7a6580981 /pkgs/development/ocaml-modules
parent59261f20f0ca18e761df342e1243e0a6ff3d3387 (diff)
downloadnixlib-d69e9327806496090cb658e377f76b6fdadaaa9c.tar
nixlib-d69e9327806496090cb658e377f76b6fdadaaa9c.tar.gz
nixlib-d69e9327806496090cb658e377f76b6fdadaaa9c.tar.bz2
nixlib-d69e9327806496090cb658e377f76b6fdadaaa9c.tar.lz
nixlib-d69e9327806496090cb658e377f76b6fdadaaa9c.tar.xz
nixlib-d69e9327806496090cb658e377f76b6fdadaaa9c.tar.zst
nixlib-d69e9327806496090cb658e377f76b6fdadaaa9c.zip
ocamlPackages.ocaml-compiler-libs: init at 0.9.0
This packages exposes the OCaml compiler libraries repackages
under the toplevel names Ocaml_common, Ocaml_bytecomp, ...

Homepage: https://github.com/janestreet/ocaml-compiler-libs
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/janestreet/ocaml-compiler-libs.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/janestreet/ocaml-compiler-libs.nix b/pkgs/development/ocaml-modules/janestreet/ocaml-compiler-libs.nix
new file mode 100644
index 000000000000..7d7e44ab9cc1
--- /dev/null
+++ b/pkgs/development/ocaml-modules/janestreet/ocaml-compiler-libs.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, ocaml, jbuilder, findlib }:
+
+stdenv.mkDerivation {
+	name = "ocaml${ocaml.version}-ocaml-compiler-libs-0.9.0"; 
+	src = fetchurl {
+		url = http://ocaml.janestreet.com/ocaml-core/v0.9/files/ocaml-compiler-libs-v0.9.0.tar.gz;
+		sha256 = "0ipi56vg227924ahi9vv926jn16br9zfipm6a3xd4xrl5pxkvzaz";
+	};
+
+	buildInputs = [ ocaml jbuilder findlib ];
+
+	inherit (jbuilder) installPhase;
+
+	meta = {
+		description = "OCaml compiler libraries repackaged";
+		homepage = https://github.com/janestreet/ocaml-compiler-libs;
+		license = stdenv.lib.licenses.asl20;
+		maintainers = [ stdenv.lib.maintainers.vbgl ];
+		inherit (ocaml.meta) platforms;
+	};
+}