1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

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 {};
eigen2 = callPackage ../development/libraries/eigen/2.0.nix {};
enchant = callPackage ../development/libraries/enchant { };
enet = callPackage ../development/libraries/enet { };
@ -8425,9 +8427,15 @@ let
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:
let callPackageOrig = callPackage; in