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
This commit is contained in:
parent
55ac21e81d
commit
a81e253369
21
pkgs/development/ocaml-modules/base/default.nix
Normal file
21
pkgs/development/ocaml-modules/base/default.nix
Normal file
@ -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";
|
||||||
|
};
|
||||||
|
}
|
@ -49,6 +49,8 @@ let
|
|||||||
|
|
||||||
atdgen = callPackage ../development/ocaml-modules/atdgen { };
|
atdgen = callPackage ../development/ocaml-modules/atdgen { };
|
||||||
|
|
||||||
|
base = callPackage ../development/ocaml-modules/base { };
|
||||||
|
|
||||||
base64 = callPackage ../development/ocaml-modules/base64 { };
|
base64 = callPackage ../development/ocaml-modules/base64 { };
|
||||||
|
|
||||||
bolt = callPackage ../development/ocaml-modules/bolt { };
|
bolt = callPackage ../development/ocaml-modules/bolt { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user