14 stdenv.mkDerivation rec {
16 version = "2024.05.08";
18 src = fetchFromGitHub {
22 hash = "sha256-1CdRwQ0LQrYcXvoGtGxR9Ug3Q2N4skXq8z+LdNpv8p4=";
27 # Skipped test: ssidst
28 # hwloc/linux: failed to find sysfs cpu topology directory, aborting linux discovery.
29 substituteInPlace tests/meson.build --replace-fail \
33 + lib.optionalString stdenv.hostPlatform.isDarwin ''
34 # Skipped test: lsmrt, segfault
35 substituteInPlace tests/meson.build --replace-fail \
36 "['lsmrt', files('lsmr.f90')]," \
50 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ llvmPackages.openmp ];
52 mesonFlags = [ (lib.mesonBool "tests" true) ];
54 LDFLAGS = lib.optionals stdenv.hostPlatform.isDarwin [ "-lomp" ];
59 description = "Sparse Parallel Robust Algorithms Library";
60 homepage = "https://github.com/ralna/spral";
61 changelog = "https://github.com/ralna/spral/blob/${src.rev}/ChangeLog";
62 license = lib.licenses.bsd3;
63 maintainers = with lib.maintainers; [ nim65s ];