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

24 lines
608 B
Nix
Raw Normal View History

2012-08-29 21:25:30 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2015-04-04 22:49:07 +01:00
version = "0.12.0";
2013-09-01 00:57:33 +01:00
name = "mdds-${version}";
2012-08-29 21:25:30 +01:00
src = fetchurl {
2014-06-30 15:50:55 +01:00
url = "http://kohei.us/files/mdds/src/mdds_${version}.tar.bz2";
2015-04-04 22:49:07 +01:00
sha256 = "10ar7r0gkdl2r7916jlkl5c38cynrh7x9s90a5i8d242r8ixw8ia";
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;
2012-08-29 21:25:30 +01:00
homepage = https://code.google.com/p/multidimalgorithm/;
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = stdenv.lib.platforms.all;
};
}