From 29dfbca634165fc921a5c31b0c10b3e425c29b1b Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 2 Jan 2017 18:24:39 +0100 Subject: [PATCH] eigen3_3: init at 3.3.1; not compatible enough with 3.2.5 to switch the default immediately --- pkgs/development/libraries/eigen/3.3.nix | 25 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/libraries/eigen/3.3.nix diff --git a/pkgs/development/libraries/eigen/3.3.nix b/pkgs/development/libraries/eigen/3.3.nix new file mode 100644 index 000000000000..ca3d44022062 --- /dev/null +++ b/pkgs/development/libraries/eigen/3.3.nix @@ -0,0 +1,25 @@ +{stdenv, fetchurl, cmake}: + +let + version = "3.3.1"; +in +stdenv.mkDerivation { + name = "eigen-${version}"; + + src = fetchurl { + url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.gz"; + name = "eigen-${version}.tar.gz"; + sha256 = "141axgv5kykq7125scisjvnfcdx7qcj8n8zlk7g09r7fhqgjr79w"; + }; + + nativeBuildInputs = [ 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 ; + platforms = platforms.unix; + maintainers = with stdenv.lib.maintainers; [ sander urkud raskin ]; + inherit version; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 37fa03895437..e5773c94bdbe 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6969,6 +6969,7 @@ in eclib = callPackage ../development/libraries/eclib {}; eigen = callPackage ../development/libraries/eigen {}; + eigen3_3 = callPackage ../development/libraries/eigen/3.3.nix {}; eigen2 = callPackage ../development/libraries/eigen/2.0.nix {};