linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / eigen / default.nix
blob079269521c76b02b774065b6abd4796efd349183
1 { lib, stdenv, fetchFromGitLab, cmake }:
3 stdenv.mkDerivation rec {
4   pname = "eigen";
5   version = "3.3.7";
7   src = fetchFromGitLab {
8     owner = "libeigen";
9     repo = "eigen";
10     rev = version;
11     sha256 = "1i3cvg8d70dk99fl3lrv3wqhfpdnm5kx01fl7r2bz46sk9bphwm1";
12   };
14   patches = [
15     ./include-dir.patch
16   ];
18   nativeBuildInputs = [ cmake ];
20   meta = with lib; {
21     description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
22     license = licenses.lgpl3Plus;
23     homepage = "https://eigen.tuxfamily.org";
24     platforms = platforms.unix;
25     maintainers = with lib.maintainers; [ sander raskin ];
26     inherit version;
27   };