nixpkgs/pkgs/development/libraries/mdds/default.nix

24 lines
608 B
Nix
Raw Normal View History

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