77404dbf37
ocamlPackages.sexplib: 0.9.1 -> 0.9.2 ocamlPackages.base: 0.9.1 -> 0.9.3 ocamlPackages.ppx_driver: 0.9.0 -> 0.9.1 ocamlPackages.bin_prot: 0.9.0 -> 0.9.1 ocamlPackages.ppx_inline_test: 0.9.0 -> 0.9.2
24 lines
684 B
Nix
24 lines
684 B
Nix
{ stdenv, fetchzip, ocaml, opam }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "jbuilder-1.0+beta12";
|
|
src = fetchzip {
|
|
url = http://github.com/janestreet/jbuilder/archive/1.0+beta12.tar.gz;
|
|
sha256 = "1gqpp1spcya9951mw2kcavam8v0m5s6zc5pjb7bkv5d71si04rlf";
|
|
};
|
|
|
|
buildInputs = [ ocaml ];
|
|
|
|
installPhase = "${opam}/bin/opam-installer -i --prefix=$out --libdir=$OCAMLFIND_DESTDIR";
|
|
|
|
preFixup = "rm -rf $out/jbuilder";
|
|
|
|
meta = {
|
|
homepage = https://github.com/janestreet/jbuilder;
|
|
description = "Fast, portable and opinionated build system";
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
license = stdenv.lib.licenses.asl20;
|
|
inherit (ocaml.meta) platforms;
|
|
};
|
|
}
|