nixpkgs/pkgs/development/libraries/mdds/default.nix
2018-07-17 14:41:53 +00:00

26 lines
627 B
Nix

{ stdenv, fetchurl, boost }:
stdenv.mkDerivation rec {
version = "1.3.1";
name = "mdds-${version}";
src = fetchurl {
url = "https://kohei.us/files/mdds/src/mdds-${version}.tar.bz2";
sha256 = "18g511z1lgfxrga2ld9yr95phmyfbd3ymbv4q5g5lyjn4ljcvf6w";
};
postInstall = ''
mkdir -p "$out/lib/pkgconfig"
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
'';
checkInputs = [ boost ];
meta = {
inherit version;
homepage = https://gitlab.com/mdds/mdds;
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = stdenv.lib.platforms.all;
};
}