2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, cmake }:
|
2012-12-14 11:44:24 +00:00
|
|
|
|
2020-03-07 17:17:19 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "eigen";
|
|
|
|
version = "2.0.17";
|
2013-01-13 10:33:45 +00:00
|
|
|
|
2020-03-07 17:17:19 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "libeigen";
|
2021-04-23 02:15:07 +00:00
|
|
|
repo = pname;
|
2020-03-07 17:17:19 +00:00
|
|
|
rev = version;
|
2021-04-23 02:15:07 +00:00
|
|
|
hash = "sha256-C1Bu2H4zxd/2QVzz9AOdoCSRwOYjF41Vr/0S8Fm2kzQ=";
|
2012-12-14 11:44:24 +00:00
|
|
|
};
|
2013-01-13 10:33:45 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2021-04-23 02:15:07 +00:00
|
|
|
homepage = "https://eigen.tuxfamily.org";
|
2012-12-14 11:44:24 +00:00
|
|
|
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
|
|
|
license = licenses.lgpl3Plus;
|
2021-04-23 02:15:07 +00:00
|
|
|
maintainers = with maintainers; [ sander raskin ];
|
|
|
|
platforms = platforms.unix;
|
2012-12-14 11:44:24 +00:00
|
|
|
};
|
|
|
|
}
|