1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/development/compilers/ocaml/3.08.0.nix
2016-09-26 02:36:49 +03:00

22 lines
544 B
Nix

{ stdenv, fetchurl, xlibsWrapper }:
stdenv.mkDerivation rec {
name = "ocaml-${version}";
version = "3.08.0";
builder = ./builder.sh;
src = fetchurl {
url = "http://tarballs.nixos.org/${name}.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 = stdenv.lib.platforms.linux;
};
}