nixpkgs/pkgs/development/libraries/eigen/default.nix

32 lines
650 B
Nix
Raw Normal View History

2021-04-23 02:18:44 +00:00
{ lib
, stdenv
, fetchFromGitLab
, cmake
}:
2020-03-07 17:17:19 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "eigen";
version = "3.4.0";
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;
sha256 = "sha256-1/4xMetKMDOgZgzz3WMxfHUEpmdAm52RqZvz6i0mLEw=";
};
patches = [
./include-dir.patch
];
nativeBuildInputs = [ cmake ];
meta = with lib; {
2021-04-23 02:18:44 +00:00
homepage = "https://eigen.tuxfamily.org";
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;
};
}