mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
24 lines
602 B
Nix
24 lines
602 B
Nix
{ lib, stdenv, fetchFromGitLab, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "eigen";
|
|
version = "2.0.17";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "libeigen";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-C1Bu2H4zxd/2QVzz9AOdoCSRwOYjF41Vr/0S8Fm2kzQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://eigen.tuxfamily.org";
|
|
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ sander raskin ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|