Merge branch 'master' into staging

This commit is contained in:
Vladimír Čunát
2016-01-18 09:48:49 +01:00
284 changed files with 11434 additions and 1452 deletions

View File

@@ -1,7 +1,7 @@
{stdenv, fetchurl, cmake}:
let
version = "3.3-alpha1";
version = "3.2.5";
in
stdenv.mkDerivation {
name = "eigen-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.gz";
name = "eigen-${version}.tar.gz";
sha256 = "00vmxz3da76ml3j7s8w8447sdpszx71i3xhnmwivxhpc4smpvz2q";
sha256 = "1vjixip19lwfia2bjpjwm09j7l20ry75493i6mjsk9djszj61agi";
};
nativeBuildInputs = [ cmake ];

View File

@@ -1,7 +0,0 @@
{ callPackage, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "${branch}.15";
branch = "2.2";
sha256 = "1s2mf1lvvwj6vkbp0wdr21xki864xsfi1rsjaa67q5m9dx4rrnr4";
})

View File

@@ -1,4 +1,4 @@
{ fetchurl, stdenv, gss, libidn }:
{ fetchurl, stdenv, gss, libidn, krb5Full }:
stdenv.mkDerivation rec {
name = "gsasl-1.8.0";
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [ libidn ]
++ stdenv.lib.optional (!stdenv.isDarwin) gss;
++ stdenv.lib.optional (!stdenv.isDarwin) gss
++ stdenv.lib.optional stdenv.isDarwin krb5Full;
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--with-gssapi-impl=mit";

View File

@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--localstatedir=/var"
"--sysconfdir=/etc"
"--sysconfdir=/var/lib"
"--with-libpcap"
"--with-vmware"
"--with-vbox"
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
installFlags = [
"localstatedir=$(TMPDIR)/var"
"sysconfdir=$(out)/etc"
"sysconfdir=$(out)/var/lib"
];
postInstall = ''

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, gfortran
{stdenv, fetchurl, gfortran, perl
# Enable the Sun Grid Engine bindings
, enableSGE ? false
@@ -9,17 +9,32 @@
with stdenv.lib;
stdenv.mkDerivation {
name = "openmpi-1.6.5";
let
majorVersion = "1.10";
in stdenv.mkDerivation rec {
name = "openmpi-${majorVersion}.1";
src = fetchurl {
url = http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.5.tar.bz2 ;
sha256 = "11gws4d3z7934zna2r7m1f80iay2ha17kp42mkh39wjykfwbldzy";
url = "http://www.open-mpi.org/software/ompi/v${majorVersion}/downloads/${name}.tar.bz2";
sha256 = "14p4px9a3qzjc22lnl6braxrcrmd9rgmy7fh4qpanawn2pgfq6br";
};
buildInputs = [ gfortran ];
nativeBuildInputs = [ perl ];
configureFlags = []
++ optional enableSGE "--with-sge"
++ optional enablePrefix "--enable-mpirun-prefix-by-default"
;
enableParallelBuilding = true;
preBuild = ''
patchShebangs ompi/mpi/fortran/base/gen-mpi-sizeof.pl
'';
meta = {
homepage = http://www.open-mpi.org/;
description = "Open source MPI-2 implementation";

View File

@@ -2,18 +2,31 @@
, telepathy_farstream, telepathy_glib, pythonDBus, fetchpatch }:
stdenv.mkDerivation rec {
name = "telepathy-qt-0.9.6";
name = "telepathy-qt-0.9.6.1";
src = fetchurl {
url = "http://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
sha256 = "0j7hs055cx5g9chn3b2p0arig70m5g9547qgqvk29kxdyxxxsmqc";
sha256 = "1y51c6rxk5qvmab98c8rnmrlyk27hnl248casvbq3cd93sav8vj9";
};
patches = [(fetchpatch {
name = "gst-1.6.patch";
url = "http://cgit.freedesktop.org/telepathy/telepathy-qt/patch"
+ "/?id=ec4a3d62b68a57254515f01fc5ea3325ffb1dbfb";
sha256 = "1rh7n3xyrwpvpa3haqi35qn4mfz4396ha43w4zsqpmcyda9y65v2";
})];
patches = let
mkUrl = hash: "http://cgit.freedesktop.org/telepathy/telepathy-qt/patch/?id=" + hash;
in [
(fetchpatch {
name = "gst-1.6.patch";
url = mkUrl "ec4a3d62b68a57254515f01fc5ea3325ffb1dbfb";
sha256 = "1rh7n3xyrwpvpa3haqi35qn4mfz4396ha43w4zsqpmcyda9y65v2";
})
(fetchpatch {
name = "parallel-make-1.patch";
url = mkUrl "1e1f53e9d91684918c34ec50392f86287e001a1e";
sha256 = "1f9nk0bi90armb9zay53c7cz70zcwqqwli7sb9wgw76rmwqhl8qw";
})
(fetchpatch {
name = "parallel-make-2.patch";
url = mkUrl "7389dc990c67d4269f3a79c924c054e87f2e4ac5";
sha256 = "0mvdvyy76kpaxacljidf06wd43fr2qripr4mwsakjs3hxb1pkk57";
})
];
nativeBuildInputs = [ cmake pkgconfig python ];
propagatedBuildInputs = [ qtbase dbus_glib telepathy_farstream telepathy_glib pythonDBus ];
@@ -22,11 +35,13 @@ stdenv.mkDerivation rec {
cmakeFlags = "-DDESIRED_QT_VERSION=${builtins.substring 0 1 qtbase.version}";
NIX_CFLAGS_COMPILE = [ "-Wno-error=cpp" ]; # remove after the next update
preBuild = ''
NIX_CFLAGS_COMPILE+=" `pkg-config --cflags dbus-glib-1`"
'';
enableParallelBuilding = false; # missing _gen/future-constants.h
enableParallelBuilding = true;
doCheck = false; # giving up for now
meta = {