2012-08-29 21:25:30 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-26 14:46:07 +01:00
|
|
|
version = "1.2.2";
|
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";
|
2016-09-26 14:46:07 +01:00
|
|
|
sha256 = "17fcjhsq3bzqm7ba9sgp6my3y4226jnwai6q5jq3810i745p67hl";
|
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;
|
|
|
|
};
|
|
|
|
}
|