2012-08-29 20:25:30 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-08-08 07:27:45 +00:00
|
|
|
version = "0.12.1";
|
2013-08-31 23:57:33 +00:00
|
|
|
name = "mdds-${version}";
|
2012-08-29 20:25:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-06-30 14:50:55 +00:00
|
|
|
url = "http://kohei.us/files/mdds/src/mdds_${version}.tar.bz2";
|
2015-08-08 07:27:45 +00:00
|
|
|
sha256 = "0gg8mb9kxh3wggh7njj1gf90xy27p0yq2cw88wqar9hhg2fmwmi3";
|
2012-08-29 20:25:30 +00:00
|
|
|
};
|
|
|
|
|
2014-06-27 12:11:49 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p "$out/lib/pkgconfig"
|
|
|
|
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
|
|
|
|
'';
|
|
|
|
|
2012-08-29 20:25:30 +00:00
|
|
|
meta = {
|
2014-06-27 12:11:49 +00:00
|
|
|
inherit version;
|
2015-08-08 07:27:45 +00:00
|
|
|
homepage = "https://gitlab.com/mdds/mdds";
|
2012-08-29 20:25:30 +00:00
|
|
|
description = "A collection of multi-dimensional data structure and indexing algorithm";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|