Merge branch 'staging' into modular-stdenv

Conflicts:
	pkgs/development/interpreters/perl/5.10/setup-hook.sh
	pkgs/development/interpreters/perl/5.8/setup-hook.sh
	pkgs/stdenv/linux/default.nix
This commit is contained in:
Vladimír Čunát
2014-09-08 18:24:58 +02:00
1452 changed files with 35052 additions and 23463 deletions
@@ -0,0 +1,10 @@
--- old/Makefile.conf 2014-05-19 16:53:09.263564921 +0200
+++ new/Makefile.conf 2014-05-19 16:53:42.213152994 +0200
@@ -1,6 +1,6 @@
# Where binaries are installed:
-BINDIR := /usr/local/bin
+BINDIR := $(out)/bin
####
@@ -0,0 +1,28 @@
{stdenv, fetchurl, ocaml, findlib, ocaml_lwt, menhir, ocsigen_deriving}:
stdenv.mkDerivation {
name = "js_of_ocaml";
src = fetchurl {
url = https://github.com/ocsigen/js_of_ocaml/archive/2.2.tar.gz;
sha256 = "1cp81gpvyxgvzxg0vzyl8aa2zvcixp6m433w8zjifrg6vb7lhp97";
};
buildInputs = [ocaml findlib ocaml_lwt menhir ocsigen_deriving];
patches = [ ./Makefile.conf.diff ];
createFindlibDestdir = true;
meta = {
homepage = http://ocsigen.org/js_of_ocaml/;
description = "Compiler of OCaml bytecode to Javascript. It makes it possible to run Ocaml programs in a Web browser";
license = "LGPL";
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.gal_bolle
];
};
}
@@ -1,14 +1,14 @@
{stdenv, fetchurl, ocaml, findlib, easy-format, biniou, yojson, menhir}:
{stdenv, fetchurl, ocaml, findlib, yojson, menhir}:
stdenv.mkDerivation {
name = "merlin-1.6";
name = "merlin-1.7.1";
src = fetchurl {
url = "https://github.com/the-lambda-church/merlin/archive/v1.6.tar.gz";
sha256 = "0wq75hgffaszazrhkl0nfjxgx8bvazi2sjannd8q64hvax8hxzcy";
url = https://github.com/the-lambda-church/merlin/archive/v1.7.1.tar.gz;
sha256 = "c3b60c7b3fddaa2860e0d8ac0d4fed2ed60e319875734c7ac1a93df524c67aff";
};
buildInputs = [ ocaml findlib biniou yojson menhir easy-format ];
buildInputs = [ ocaml findlib yojson menhir ];
prefixKey = "--prefix ";
@@ -13,9 +13,11 @@ stdenv.mkDerivation {
buildInputs =
[
ocaml findlib ocaml_data_notation ocaml_typeconv ocamlmod ocamlify ounit
ocaml findlib ocaml_typeconv ocamlmod ocamlify ounit
];
propagatedBuildInputs = [ ocaml_data_notation ];
configurePhase = "ocaml setup.ml -configure --prefix $out";
buildPhase = "ocaml setup.ml -build";
installPhase = "ocaml setup.ml -install";
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
# buildFlags = "world.opt";
meta = {
description = "Omake build system";
description = "A build system designed for scalability and portability";
homepage = "${webpage}";
license = "GPL";
};
@@ -0,0 +1,46 @@
{stdenv, fetchurl, ocaml, findlib, lambdaTerm, ocaml_lwt, makeWrapper,
ocaml_react, camomile, zed
}:
stdenv.mkDerivation rec {
version = "1.14";
name = "utop-${version}";
src = fetchurl {
url = https://github.com/diml/utop/archive/1.14.tar.gz;
sha256 = "17dqinvdrpba2fjs7sl6gxs47rrx6j8a5bbjhc7flp6bdls898zk";
};
buildInputs = [ ocaml findlib makeWrapper];
propagatedBuildInputs = [ lambdaTerm ocaml_lwt ];
createFindlibDestdir = true;
buildPhase = ''
make
make doc
'';
postFixup =
let ocamlVersion = (builtins.parseDrvName (ocaml.name)).version;
in
''
wrapProgram "$out"/bin/utop --set CAML_LD_LIBRARY_PATH "${ocaml_lwt}"/lib/ocaml/${ocamlVersion}/site-lib/lwt/:"${lambdaTerm}"/lib/ocaml/${ocamlVersion}/site-lib/lambda-term/:'$CAML_LD_LIBRARY_PATH' --set OCAMLPATH "${ocaml_lwt}"/lib/ocaml/${ocamlVersion}/site-lib:${ocaml_react}/lib/ocaml/${ocamlVersion}/site-lib:${camomile}/lib/ocaml/${ocamlVersion}/site-lib:${zed}/lib/ocaml/${ocamlVersion}/site-lib:${lambdaTerm}/lib/ocaml/${ocamlVersion}/site-lib:"$out"/lib/ocaml/${ocamlVersion}/site-lib:'$OCAMLPATH'
'';
meta = {
description = "Universal toplevel for OCaml";
longDescription = ''
utop is an improved toplevel for OCaml. It can run in a terminal or in Emacs. It supports line edition, history, real-time and context sensitive completion, colors, and more.
It integrates with the tuareg mode in Emacs.
'';
homepage = https://github.com/diml/utop;
license = stdenv.lib.licenses.bsd3;
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.gal_bolle
];
};
}