1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/development/tools/ocaml/jbuilder/default.nix

24 lines
684 B
Nix
Raw Normal View History

{ stdenv, fetchzip, ocaml, opam }:
stdenv.mkDerivation {
2017-10-25 23:22:05 +01:00
name = "jbuilder-1.0+beta14";
src = fetchzip {
2017-10-25 23:22:05 +01:00
url = http://github.com/janestreet/jbuilder/archive/1.0+beta14.tar.gz;
sha256 = "0vq4chqp7bm3rd5n6ry1j1ia6xqlz463059ljd1jmawa4dcyilvl";
};
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;
};
}