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