mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
d17e81101c
Diff: https://gitlab.com/mdds/mdds/-/compare/2.0.3...2.1.1 Changelog: https://gitlab.com/mdds/mdds/-/blob/2.1.1/CHANGELOG
41 lines
951 B
Nix
41 lines
951 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 = "A collection of multi-dimensional data structure and indexing algorithms";
|
|
changelog = "https://gitlab.com/mdds/mdds/-/blob/${finalAttrs.version}/CHANGELOG";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
platforms = platforms.unix;
|
|
};
|
|
})
|
|
# TODO: multi-output
|