2012-12-14 11:44:24 +00:00
|
|
|
{stdenv, fetchurl, cmake}:
|
|
|
|
|
|
|
|
let
|
2013-12-04 06:42:50 +00:00
|
|
|
v = "2.0.17";
|
2012-12-14 11:44:24 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "eigen-${v}";
|
2013-01-13 10:33:45 +00:00
|
|
|
|
2012-12-14 11:44:24 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
|
|
|
|
name = "eigen-${v}.tar.bz2";
|
2013-12-04 06:42:50 +00:00
|
|
|
sha256 = "0q4ry2pmdb9lvm0g92wi6s6qng3m9q73n5flwbkfcz1nxmbfhmbj";
|
2012-12-14 11:44:24 +00:00
|
|
|
};
|
2013-01-13 10:33:45 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2012-12-14 11:44:24 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
homepage = http://eigen.tuxfamily.org ;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander raskin ];
|
2014-10-07 06:27:20 +01:00
|
|
|
branch = "2";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2012-12-14 11:44:24 +00:00
|
|
|
};
|
|
|
|
}
|