2013-01-08 22:07:01 +01:00
|
|
|
{ fetchgit, stdenv, autoconf, automake, pkgconfig, m4, curl,
|
2013-01-08 23:26:24 +01:00
|
|
|
mesa, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK, xcbutil,
|
|
|
|
sqlite, gtk, patchelf, libXScrnSaver, libnotify, libX11, libxcb }:
|
2011-10-06 22:25:05 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-01 22:50:14 +02:00
|
|
|
name = "boinc-7.4.14";
|
2011-10-06 22:25:05 +02:00
|
|
|
|
2013-01-08 22:07:01 +01:00
|
|
|
src = fetchgit {
|
2013-07-19 07:25:00 +02:00
|
|
|
url = "git://boinc.berkeley.edu/boinc-v2.git";
|
2014-09-01 22:50:14 +02:00
|
|
|
rev = "fb31ab18f94f3b5141bea03e8537d76c606cd276";
|
|
|
|
sha256 = "1465zl8l87fm1ps5f2may6mcc3pp40mpd6wphpxnwwk1lmv48x96";
|
2011-10-06 22:25:05 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libtool automake autoconf m4 pkgconfig curl mesa libXmu libXi
|
2013-01-08 23:26:24 +01:00
|
|
|
freeglut libjpeg wxGTK sqlite gtk libXScrnSaver libnotify patchelf libX11
|
|
|
|
libxcb xcbutil
|
|
|
|
];
|
2011-10-06 22:25:05 +02:00
|
|
|
|
|
|
|
postConfigure = ''
|
|
|
|
sed -i -e s,/etc,$out/etc, client/scripts/Makefile
|
|
|
|
'';
|
|
|
|
|
2011-10-07 21:01:27 +02:00
|
|
|
NIX_LDFLAGS = "-lX11";
|
|
|
|
|
2011-10-06 22:25:05 +02:00
|
|
|
preConfigure = ''
|
|
|
|
./_autosetup
|
|
|
|
configureFlags="$configureFlags --sysconfdir=$out/etc"
|
|
|
|
'';
|
|
|
|
|
2011-10-07 21:01:19 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-01-08 23:26:24 +01:00
|
|
|
configureFlags = "--disable-server";
|
2011-10-06 22:25:05 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Free software for distributed and grid computing";
|
|
|
|
|
|
|
|
homepage = http://boinc.berkeley.edu/;
|
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2011-10-06 22:25:05 +02:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux; # arbitrary choice
|
|
|
|
};
|
|
|
|
}
|