bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
37 lines
720 B
Nix
37 lines
720 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, blas
|
|
, lapack
|
|
}:
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hmat-oss";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeromerobert";
|
|
repo = "hmat-oss";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "sha256-JW6zghoYnF7NcAuAACgTQoxANEnmwjUAB8jCpof7Ums=";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DHMAT_GIT_VERSION=OFF"
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ blas lapack ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Hierarchical matrix C/C++ library";
|
|
homepage = "https://github.com/jeromerobert/hmat-oss";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ gdinh ];
|
|
};
|
|
}
|