2012-08-29 21:25:30 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-08-11 08:48:28 +01:00
|
|
|
version = "1.2.1";
|
2013-09-01 00:57:33 +01:00
|
|
|
name = "mdds-${version}";
|
2012-08-29 21:25:30 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-08-11 08:48:28 +01:00
|
|
|
url = "http://kohei.us/files/mdds/src/mdds-${version}.tar.bz2";
|
|
|
|
sha256 = "0yzwdl8mf8xdj8rif1qq0qnlq7vlk5q86r3hs2x49m5rqzgljbqy";
|
2012-08-29 21:25:30 +01:00
|
|
|
};
|
|
|
|
|
2014-06-27 13:11:49 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p "$out/lib/pkgconfig"
|
|
|
|
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
|
|
|
|
'';
|
|
|
|
|
2012-08-29 21:25:30 +01:00
|
|
|
meta = {
|
2014-06-27 13:11:49 +01:00
|
|
|
inherit version;
|
2015-08-08 08:27:45 +01:00
|
|
|
homepage = "https://gitlab.com/mdds/mdds";
|
2012-08-29 21:25:30 +01:00
|
|
|
description = "A collection of multi-dimensional data structure and indexing algorithm";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|