nixpkgs/pkgs/development/libraries/mdds/default.nix
2020-04-10 17:54:53 +01:00

27 lines
663 B
Nix

{ stdenv, fetchurl, boost }:
stdenv.mkDerivation rec {
pname = "mdds";
version = "1.5.0";
src = fetchurl {
url = "https://kohei.us/files/${pname}/src/${pname}-${version}.tar.bz2";
sha256 = "03b8i43pw4m767mm0cnbi77x7qhpkzpi9b1f6dpp4cmyszmnsk8l";
};
postInstall = ''
mkdir -p "$out/lib/pkgconfig"
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
'';
checkInputs = [ boost ];
meta = with stdenv.lib; {
inherit version;
homepage = "https://gitlab.com/mdds/mdds";
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = platforms.all;
license = licenses.mit;
};
}