eigen: adding back eigen 2.0, for kde.

Kdeedu wants eigen 2.0.
This commit is contained in:
Lluís Batlle i Rossell 2012-12-14 12:44:24 +01:00
parent 93b3d24b96
commit b956b77423
2 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,23 @@
{stdenv, fetchurl, cmake}:
let
v = "2.0.16";
in
stdenv.mkDerivation {
name = "eigen-${v}";
src = fetchurl {
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
name = "eigen-${v}.tar.bz2";
sha256 = "1akcb4g5hvc664gfc6sxb6f6jrm55fgks6017wg0smyvmm6k09v0";
};
buildNativeInputs = [ cmake ];
meta = with stdenv.lib; {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = licenses.lgpl3Plus;
homepage = http://eigen.tuxfamily.org ;
maintainers = with stdenv.lib.maintainers; [ sander urkud raskin ];
};
}

View File

@ -3515,6 +3515,8 @@ let
eigen = callPackage ../development/libraries/eigen {}; eigen = callPackage ../development/libraries/eigen {};
eigen2 = callPackage ../development/libraries/eigen/2.0.nix {};
enchant = callPackage ../development/libraries/enchant { }; enchant = callPackage ../development/libraries/enchant { };
enet = callPackage ../development/libraries/enet { }; enet = callPackage ../development/libraries/enet { };
@ -8425,9 +8427,15 @@ let
kde4 = recurseIntoAttrs pkgs.kde47; kde4 = recurseIntoAttrs pkgs.kde47;
kde47 = kdePackagesFor (pkgs.kde47 // {boost = boost149;}) ../desktops/kde-4.7; kde47 = kdePackagesFor (pkgs.kde47 // {
boost = boost149;
eigen = eigen2;
}) ../desktops/kde-4.7;
kde48 = kdePackagesFor (pkgs.kde48 // {boost = boost149;}) ../desktops/kde-4.8; kde48 = kdePackagesFor (pkgs.kde48 // {
boost = boost149;
eigen = eigen2;
}) ../desktops/kde-4.8;
kdePackagesFor = self: dir: kdePackagesFor = self: dir:
let callPackageOrig = callPackage; in let callPackageOrig = callPackage; in