2012-08-29 22:25:30 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-06-27 14:11:49 +02:00
|
|
|
version = "0.10.3";
|
2013-09-01 01:57:33 +02:00
|
|
|
name = "mdds-${version}";
|
2012-08-29 22:25:30 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-06-30 16:50:55 +02:00
|
|
|
url = "http://kohei.us/files/mdds/src/mdds_${version}.tar.bz2";
|
2014-06-27 14:11:49 +02:00
|
|
|
sha256 = "1hp0472mcsgzrz1v60jpywxrrqmpb8bchfsi7ydmp6vypqnr646v";
|
2012-08-29 22:25:30 +02:00
|
|
|
};
|
|
|
|
|
2014-06-27 14:11:49 +02:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p "$out/lib/pkgconfig"
|
|
|
|
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
|
|
|
|
'';
|
|
|
|
|
2012-08-29 22:25:30 +02:00
|
|
|
meta = {
|
2014-06-27 14:11:49 +02:00
|
|
|
inherit version;
|
2012-08-29 22:25:30 +02:00
|
|
|
homepage = https://code.google.com/p/multidimalgorithm/;
|
|
|
|
description = "A collection of multi-dimensional data structure and indexing algorithm";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|