nixpkgs-suyu/pkgs/development/tools/ocaml/jbuilder/default.nix
Matthew Maurer 48cc8c2fff jbuilder: 1.0+beta18 -> 1.0+beta17
jbuilder beta 18 introduces a regression on the final link.
This is reflected in BAP 1.4
Rolling back one version until it's fixed.
2018-03-01 12:12:29 -05:00

26 lines
717 B
Nix

{ stdenv, fetchFromGitHub, ocaml, opam }:
stdenv.mkDerivation rec {
name = "jbuilder-${version}";
version = "1.0+beta17";
src = fetchFromGitHub {
owner = "ocaml";
repo = "dune";
rev = "${version}";
sha256 = "04pyry459hp2r2s9m5xkcq1glzp20ddz5wb1w8nzp3zgygy0431x";
};
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;
};
}