2015-07-20 18:25:41 +01:00
|
|
|
{ fetchFromGitHub, stdenv, autoconf, automake, pkgconfig, m4, curl,
|
2013-01-08 22:26:24 +00:00
|
|
|
mesa, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK, xcbutil,
|
|
|
|
sqlite, gtk, patchelf, libXScrnSaver, libnotify, libX11, libxcb }:
|
2011-10-06 21:25:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-07-20 18:25:41 +01:00
|
|
|
version = "7.4.42";
|
|
|
|
name = "boinc-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BOINC";
|
|
|
|
repo = "boinc";
|
|
|
|
rev = "561fbdae0cac3be996136319828f43cbc62c9";
|
|
|
|
sha256 = "1rlh463yyz88p2g5pc6avndn3x1162vcksgbqich0i3qb90jms29";
|
2011-10-06 21:25:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libtool automake autoconf m4 pkgconfig curl mesa libXmu libXi
|
2013-01-08 22:26:24 +00:00
|
|
|
freeglut libjpeg wxGTK sqlite gtk libXScrnSaver libnotify patchelf libX11
|
|
|
|
libxcb xcbutil
|
|
|
|
];
|
2011-10-06 21:25:05 +01:00
|
|
|
|
|
|
|
postConfigure = ''
|
|
|
|
sed -i -e s,/etc,$out/etc, client/scripts/Makefile
|
|
|
|
'';
|
|
|
|
|
2011-10-07 20:01:27 +01:00
|
|
|
NIX_LDFLAGS = "-lX11";
|
|
|
|
|
2011-10-06 21:25:05 +01:00
|
|
|
preConfigure = ''
|
|
|
|
./_autosetup
|
|
|
|
configureFlags="$configureFlags --sysconfdir=$out/etc"
|
|
|
|
'';
|
|
|
|
|
2011-10-07 20:01:19 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-01-08 22:26:24 +00:00
|
|
|
configureFlags = "--disable-server";
|
2011-10-06 21:25:05 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Free software for distributed and grid computing";
|
|
|
|
|
|
|
|
homepage = http://boinc.berkeley.edu/;
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2011-10-06 21:25:05 +01:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux; # arbitrary choice
|
|
|
|
};
|
|
|
|
}
|