nixpkgs-suyu/pkgs/development/compilers/ocaml/3.08.0.nix

22 lines
544 B
Nix
Raw Normal View History

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