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

25 lines
639 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitLab, cmake }:
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";
repo = "eigen";
rev = version;
sha256 = "0d4knrcz04pxmxaqs5r3wv092950kl1z9wsw87vdzi9kgvc6wl0b";
};
2013-01-13 10:33:45 +00:00
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";
maintainers = with lib.maintainers; [ sander raskin ];
2014-10-07 06:27:20 +01:00
branch = "2";
platforms = with lib.platforms; unix;
};
}