Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
924 B
Nix
42 lines
924 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
autoreconfHook,
|
|
boost,
|
|
llvmPackages,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "mdds";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "mdds";
|
|
repo = "mdds";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-a412LpgDiYM8TMToaUrTlHtblYS1HehzrDOwvIAAxiA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
|
|
|
|
nativeCheckInputs = [ boost ];
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/lib/
|
|
mv $out/share/pkgconfig $out/lib/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.com/mdds/mdds";
|
|
description = "Collection of multi-dimensional data structure and indexing algorithms";
|
|
changelog = "https://gitlab.com/mdds/mdds/-/blob/${finalAttrs.version}/CHANGELOG";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
})
|
|
# TODO: multi-output
|