Merge recent master into staging

Hydra: ?compare=1148749

Conflicts (easy):
	nixos/modules/virtualisation/containers.nix
This commit is contained in:
Vladimír Čunát
2014-08-21 15:09:31 +02:00
215 changed files with 3425 additions and 1642 deletions

View File

@@ -1,13 +1,12 @@
{ stdenv, fetchgit, mono, pkgconfig, autoconf, automake, which }:
{ stdenv, fetchurl, mono, pkgconfig, autoconf, automake, which }:
stdenv.mkDerivation rec {
name = "fsharp-${version}";
version = "3.1.0";
version = "3.1.1.25";
src = fetchgit {
url = "https://github.com/fsharp/fsharp";
rev = "refs/heads/fsharp_31";
sha256 = "0d41ae31c57ec9ac8a4ea149b615ae085f3774b8877d8e53ddbf68856c32eda0";
src = fetchurl {
url = "https://github.com/fsharp/fsharp/archive/${version}.tar.gz";
sha256 = "1vrgw7qk4g78mjjapc1a1frribcgya4cdrwahv3i26z9s10g5h3d";
};
buildInputs = [ mono pkgconfig autoconf automake which ];

View File

@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ghc, perl, gmp, ncurses, happy, alex }:
stdenv.mkDerivation rec {
version = "7.9.20140608";
version = "7.9.20140814";
name = "ghc-${version}";
src = fetchurl {
url = "http://deb.haskell.org/dailies/2014-06-08/ghc_${version}.orig.tar.bz2";
sha256 = "0x3hgh4zfns2m6bbq9xwwlafav0a29azl0xh8549za256clz97w1";
url = "http://deb.haskell.org/dailies/2014-08-14/ghc_${version}.orig.tar.bz2";
sha256 = "05vmlbzbfv72z570xmlh8n003z9xc4l5hixjqvczyyyisdvmyaa3";
};
buildInputs = [ ghc perl gmp ncurses happy alex ];

View File

@@ -3,18 +3,13 @@
stdenv.mkDerivation rec {
name = "jhc-${version}";
version = "0.8.1";
version = "0.8.2";
src = fetchurl {
url = "http://repetae.net/dist/${name}.tar.gz";
sha256 = "11fya5ggk6q4vcm3kwjacfaaqvkammih25saqwlr1g40bcikbnf2";
url = "http://repetae.net/dist/${name}.tar.gz";
sha256 = "0lrgg698mx6xlrqcylba9z4g1f053chrzc92ri881dmb1knf83bz";
};
patchPhase = ''
substituteInPlace ./src/Util/Interact.hs \
--replace USE_NOLINE USE_READLINE
'';
buildInputs =
[ perl ghc binary zlib utf8String
readline fgl regexCompat HsSyck random

View File

@@ -0,0 +1,24 @@
#!/bin/bash
source $stdenv/setup
echo "Building Manticore research compiler."
set -xe
PATH=$smlnj/bin:$PATH
mkdir -p $out/bin
# Manticore seems to use the MLB files from the build tree,
# so for now we copy the whole build tree into the store:
cd $out/
tar xf $src
mv manticore* repo_checkout
cd repo_checkout/
# TODO: At the very least, this could probably be cut down to a subset
# of the repo.
${autoconf}/bin/autoheader -Iconfig
${autoconf}/bin/autoconf -Iconfig
./configure --prefix=$out
make build -j
make install

View File

@@ -0,0 +1,28 @@
{ stdenv, fetchurl, coreutils, autoconf, automake, smlnj }:
stdenv.mkDerivation rec {
name = "manticore-${version}";
version = "2014.08.18";
builder = ./builder.sh;
src = fetchurl {
url = https://github.com/rrnewton/manticore_temp_mirror/archive/snapshot-20140818.tar.gz;
sha256 = "1x52xpj5gbcpqjqm6aw6ssn901f353zypj3d5scm8i3ad777y29d";
};
inherit stdenv coreutils autoconf automake smlnj;
meta = {
description = "a parallel, pure variant of Standard ML";
longDescription = ''
Manticore is a high-level parallel programming language aimed at
general-purpose applications running on multi-core
processors. Manticore supports parallelism at multiple levels:
explicit concurrency and coarse-grain parallelism via CML-style
constructs and fine-grain parallelism via various light-weight
notations, such as parallel tuple expressions and NESL/Nepal-style
parallel array comprehensions.
'';
homepage = http://manticore.cs.uchicago.edu/;
};
}

View File

@@ -42,8 +42,7 @@ in stdenv.mkDerivation {
homepage = "http://www.cs.uu.nl/wiki/UHC";
description = "Utrecht Haskell Compiler";
platforms = stdenv.lib.platforms.linux;
maintainers = [
stdenv.lib.maintainers.andres
];
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
};
}