depot/third_party/nixpkgs/pkgs/development/compilers/ocaml/3.08.0.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

21 lines
539 B
Nix

{ stdenv, fetchurl, xlibsWrapper }:
stdenv.mkDerivation rec {
pname = "ocaml";
version = "3.08.0";
builder = ./builder.sh;
src = fetchurl {
url = "http://tarballs.nixos.org/${pname}-${version}.tar.gz";
sha256 = "135g5waj7djzrj0dbc8z1llasfs2iv5asq41jifhldxb4l2b97mx";
};
configureScript = ./configure-3.08.0;
dontAddPrefix = "True";
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
buildFlags = ["world" "bootstrap" "opt"];
checkTarget = ["opt.opt"];
meta = {
platforms = lib.platforms.linux;
};
}