Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
pkgs/development/ocaml-modules/janestreet/ocaml-compiler-libs.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters