2012-08-29 20:25:30 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-06-27 12:11:49 +00:00
|
|
|
version = "0.10.3";
|
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";
|
2014-06-27 12:11:49 +00:00
|
|
|
sha256 = "1hp0472mcsgzrz1v60jpywxrrqmpb8bchfsi7ydmp6vypqnr646v";
|
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;
|
2012-08-29 20:25:30 +00:00
|
|
|
homepage = https://code.google.com/p/multidimalgorithm/;
|
|
|
|
description = "A collection of multi-dimensional data structure and indexing algorithm";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|