nixpkgs/pkgs/development/libraries/mdds/default.nix

26 lines
627 B
Nix
Raw Normal View History

2018-05-25 16:51:04 -07:00
{ stdenv, fetchurl, boost }:
2012-08-29 13:25:30 -07:00
stdenv.mkDerivation rec {
version = "1.3.1";
2013-08-31 16:57:33 -07:00
name = "mdds-${version}";
2012-08-29 13:25:30 -07:00
src = fetchurl {
url = "https://kohei.us/files/mdds/src/mdds-${version}.tar.bz2";
sha256 = "18g511z1lgfxrga2ld9yr95phmyfbd3ymbv4q5g5lyjn4ljcvf6w";
2012-08-29 13:25:30 -07:00
};
2014-06-27 05:11:49 -07:00
postInstall = ''
mkdir -p "$out/lib/pkgconfig"
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
'';
2018-05-25 16:51:04 -07:00
checkInputs = [ boost ];
2012-08-29 13:25:30 -07:00
meta = {
2014-06-27 05:11:49 -07:00
inherit version;
homepage = https://gitlab.com/mdds/mdds;
2012-08-29 13:25:30 -07:00
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = stdenv.lib.platforms.all;
};
}