From fefaa7a6eae62a3d7ffb840fff275db470da740d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 6 Oct 2011 20:25:05 +0000 Subject: [PATCH] Adding boinc. It installs. I don't know how to use it. svn path=/nixpkgs/trunk/; revision=29704 --- .../science/misc/boinc/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/applications/science/misc/boinc/default.nix diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix new file mode 100644 index 000000000000..bd6e5b2a9f0e --- /dev/null +++ b/pkgs/applications/science/misc/boinc/default.nix @@ -0,0 +1,36 @@ +{ fetchsvn, stdenv, autoconf, automake, pkgconfig, m4, curl, +mesa, libXmu, libXi, freeglut, libjpeg, libtool }: + +stdenv.mkDerivation rec { + name = "boinc-6.13.6"; + + src = fetchsvn { + url = "http://boinc.berkeley.edu/svn/tags/boinc_core_release_6_13_6"; + rev = 24341; + sha256 = "17312g4mhxigka1rafxxw46a4mbdlfj1wh1nlp1cbg43hv2rf7bq"; + }; + + buildInputs = [ libtool automake autoconf m4 pkgconfig curl mesa libXmu libXi + freeglut libjpeg ]; + + postConfigure = '' + sed -i -e s,/etc,$out/etc, client/scripts/Makefile + ''; + + preConfigure = '' + ./_autosetup + configureFlags="$configureFlags --sysconfdir=$out/etc" + ''; + + configureFlags = "--disable-server"; + + meta = { + description = "Free software for distributed and grid computing"; + + homepage = http://boinc.berkeley.edu/; + + license = "LGPLv2+"; + + platforms = stdenv.lib.platforms.linux; # arbitrary choice + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c754d07480d6..0065a2888b52 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8208,6 +8208,8 @@ let ### SCIENCE / MISC + boinc = callPackage ../applications/science/misc/boinc { }; + golly = callPackage ../applications/science/misc/golly { }; simgrid = callPackage ../applications/science/misc/simgrid { };