mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
eigen: adding back eigen 2.0, for kde.
Kdeedu wants eigen 2.0.
This commit is contained in:
parent
93b3d24b96
commit
b956b77423
23
pkgs/development/libraries/eigen/2.0.nix
Normal file
23
pkgs/development/libraries/eigen/2.0.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user