2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitLab, cmake }:
|
2011-01-28 09:13:52 +01:00
|
|
|
|
2020-03-07 18:17:19 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "eigen";
|
2020-03-07 18:17:19 +01:00
|
|
|
version = "3.3.7";
|
2018-04-25 05:20:18 +02:00
|
|
|
|
2020-03-07 18:17:19 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "libeigen";
|
|
|
|
repo = "eigen";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1i3cvg8d70dk99fl3lrv3wqhfpdnm5kx01fl7r2bz46sk9bphwm1";
|
2011-01-28 09:13:52 +01:00
|
|
|
};
|
2018-04-25 05:20:18 +02:00
|
|
|
|
2018-11-18 13:09:57 +01:00
|
|
|
patches = [
|
|
|
|
./include-dir.patch
|
|
|
|
];
|
2018-04-25 05:20:18 +02:00
|
|
|
|
2018-11-18 13:09:57 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-04-25 05:20:18 +02:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2011-02-22 12:54:56 +01:00
|
|
|
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
|
|
|
license = licenses.lgpl3Plus;
|
2020-03-07 18:17:19 +01:00
|
|
|
homepage = "https://eigen.tuxfamily.org";
|
2015-04-26 05:12:42 +02:00
|
|
|
platforms = platforms.unix;
|
2021-01-21 18:00:13 +01:00
|
|
|
maintainers = with lib.maintainers; [ sander raskin ];
|
2014-08-31 18:42:00 +02:00
|
|
|
inherit version;
|
2011-01-28 09:13:52 +01:00
|
|
|
};
|
2011-02-22 12:54:56 +01:00
|
|
|
}
|