diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-03-23 06:39:50 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-03-23 06:39:50 +0000 |
commit | a81e25336978af759f5e4f24c8ce1755f54481bc (patch) | |
tree | f9682378b526bb91d8e3c7ece5e0dbb00ec55184 /pkgs/development/ocaml-modules | |
parent | 55ac21e81d5787428be4fa9ec0e50329eacb1f79 (diff) | |
download | nixlib-a81e25336978af759f5e4f24c8ce1755f54481bc.tar nixlib-a81e25336978af759f5e4f24c8ce1755f54481bc.tar.gz nixlib-a81e25336978af759f5e4f24c8ce1755f54481bc.tar.bz2 nixlib-a81e25336978af759f5e4f24c8ce1755f54481bc.tar.lz nixlib-a81e25336978af759f5e4f24c8ce1755f54481bc.tar.xz nixlib-a81e25336978af759f5e4f24c8ce1755f54481bc.tar.zst nixlib-a81e25336978af759f5e4f24c8ce1755f54481bc.zip |
ocamlPackages.base: init at 0.9.0
Base is a complete and portable alternative to the OCaml standard library. Homepage: https://github.com/janestreet/base
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/base/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/base/default.nix b/pkgs/development/ocaml-modules/base/default.nix new file mode 100644 index 000000000000..4c92c7f1ca1b --- /dev/null +++ b/pkgs/development/ocaml-modules/base/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, ocaml, jbuilder, findlib }: + +stdenv.mkDerivation { + name = "ocaml${ocaml.version}-base-0.9.0"; + + src = fetchurl { + url = http://ocaml.janestreet.com/ocaml-core/v0.9/files/base-v0.9.0.tar.gz; + sha256 = "0pdpa3hflbqn978ppvv5y08cjya0k8xpf1h0kcak6bdrmnmiwlyx"; + }; + + buildInputs = [ ocaml jbuilder findlib ]; + + inherit (jbuilder) installPhase; + + meta = { + license = stdenv.lib.licenses.asl20; + inherit (ocaml.meta) platforms; + homepage = https://github.com/janestreet/base; + description = "Full standard library replacement for OCaml"; + }; +} |