8 stdenv.mkDerivation rec {
12 src = fetchFromGitLab {
16 hash = "sha256-1/4xMetKMDOgZgzz3WMxfHUEpmdAm52RqZvz6i0mLEw=";
22 # Fixes e.g. onnxruntime on aarch64-darwin:
23 # https://hydra.nixos.org/build/248915128/nixlog/1,
24 # originally suggested in https://github.com/NixOS/nixpkgs/pull/258392.
27 # ["Fix vectorized reductions for Eigen::half"](https://gitlab.com/libeigen/eigen/-/merge_requests/699)
28 # which is two years old,
29 # but Eigen hasn't had a release in two years either:
30 # https://gitlab.com/libeigen/eigen/-/issues/2699.
32 url = "https://gitlab.com/libeigen/eigen/-/commit/d0e3791b1a0e2db9edd5f1d1befdb2ac5a40efe0.patch";
33 hash = "sha256-8qiNpuYehnoiGiqy0c3Mcb45pwrmc6W4rzCxoLDSvj0=";
37 nativeBuildInputs = [ cmake ];
40 homepage = "https://eigen.tuxfamily.org";
41 description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
42 license = licenses.lgpl3Plus;
43 maintainers = with maintainers; [ sander raskin ];
44 platforms = platforms.unix;