depot/third_party/nixpkgs/pkgs/development/libraries/mdds/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

27 lines
727 B
Nix

{ lib, stdenv, fetchurl, boost, llvmPackages }:
stdenv.mkDerivation rec {
pname = "mdds";
version = "2.0.2";
src = fetchurl {
url = "https://kohei.us/files/${pname}/src/${pname}-${version}.tar.bz2";
sha256 = "sha256-EyEfLy44fvO3TXOh3O5Soa1c4G34+OZkdnnfknijEWo=";
};
postInstall = ''
mkdir -p "$out/lib/pkgconfig"
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
'';
buildInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
checkInputs = [ boost ];
meta = with lib; {
homepage = "https://gitlab.com/mdds/mdds";
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = platforms.all;
license = licenses.mit;
};
}