hmat-oss: modernize

This commit is contained in:
Zexin Yuan 2025-05-04 21:56:47 +08:00
parent 26f4a5102f
commit 2b3366856a
No known key found for this signature in database

View File

@ -8,15 +8,15 @@
lapack, lapack,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "hmat-oss"; pname = "hmat-oss";
version = "1.10.0"; version = "1.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jeromerobert"; owner = "jeromerobert";
repo = "hmat-oss"; repo = "hmat-oss";
tag = version; tag = finalAttrs.version;
sha256 = "sha256-GnFlvZCEzSCcBVLjFWLe+AKXVA6UMs/gycrOJ2TBqrE="; hash = "sha256-GnFlvZCEzSCcBVLjFWLe+AKXVA6UMs/gycrOJ2TBqrE=";
}; };
cmakeFlags = [ cmakeFlags = [
@ -38,11 +38,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with lib; { meta = {
description = "Hierarchical matrix C/C++ library"; description = "Hierarchical matrix C/C++ library";
homepage = "https://github.com/jeromerobert/hmat-oss"; homepage = "https://github.com/jeromerobert/hmat-oss";
license = licenses.gpl2; license = lib.licenses.gpl2;
platforms = platforms.unix; platforms = lib.platforms.unix;
maintainers = with maintainers; [ gdinh ]; maintainers = with lib.maintainers; [ gdinh ];
}; };
} })