1 { lib, stdenv, fetchurl, boost, llvmPackages }:
3 stdenv.mkDerivation rec {
8 url = "https://kohei.us/files/${pname}/src/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-EyEfLy44fvO3TXOh3O5Soa1c4G34+OZkdnnfknijEWo=";
13 mkdir -p "$out/lib/pkgconfig"
14 cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
17 buildInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
19 checkInputs = [ boost ];
22 homepage = "https://gitlab.com/mdds/mdds";
23 description = "A collection of multi-dimensional data structure and indexing algorithm";
24 platforms = platforms.all;
25 license = licenses.mit;