about summary refs log tree commit diff
path: root/pkgs/development/libraries/eigen/2.0.nix
blob: a2b1ba47e2d0579ebb2fdeed4905ae55ed801b45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchFromGitLab, cmake }:

stdenv.mkDerivation rec {
  pname = "eigen";
  version = "2.0.17";

  src = fetchFromGitLab {
    owner = "libeigen";
    repo = "eigen";
    rev = version;
    sha256 = "0d4knrcz04pxmxaqs5r3wv092950kl1z9wsw87vdzi9kgvc6wl0b";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
    description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
    license = licenses.lgpl3Plus;
    homepage = "https://eigen.tuxfamily.org";
    maintainers = with lib.maintainers; [ sander raskin ];
    branch = "2";
    platforms = with lib.platforms; unix;
  };
}