Initial Packages

This commit was merged in pull request #1.
This commit is contained in:
2026-05-31 21:15:28 +02:00
parent e06dc2c7f9
commit 678ba70af9
14 changed files with 690 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
{
lib,
stdenv,
cmake,
pkg-config,
fetchFromGitHub,
zstd,
gsl,
llvmPackages,
}:
stdenv.mkDerivation {
pname = "sz3";
version = "3.3.x";
src = fetchFromGitHub {
owner = "szcompressor";
repo = "SZ3";
rev = "34b36f2af0d43aa4f5dea0e39500e91f6d35c9cf";
sha256 = "0fckf5939m9d2w3095isnq3qfrz8fxpppn7y3c2hwzdh72vdzic7";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs =
[
zstd
gsl
]
++ lib.optionals stdenv.cc.isClang [
llvmPackages.openmp
];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
];
meta = with lib; {
description = "A modular error-bounded lossy compression framework for scientific datasets";
homepage = "https://github.com/szcompressor/SZ3";
license = licenses.bsd3;
platforms = platforms.unix;
};
}