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

29 lines
675 B
Nix
Raw Normal View History

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