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