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

23 lines
668 B
Nix
Raw Normal View History

2020-02-11 00:32:42 +00:00
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "NGT";
version = "v1.8.4";
nativeBuildInputs = [ cmake ];
src = fetchFromGitHub {
owner = "yahoojapan";
repo = "NGT";
rev = version;
sha256 = "f2019e7916b81f8aeabc57d682904c8447776bf9ba94525d20265b329aa43eb5";
};
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = "https://github.com/yahoojapan/NGT";
2020-02-11 00:32:42 +00:00
description = "Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data";
platforms = platforms.linux ++ platforms.darwin;
license = licenses.asl20;
maintainers = with maintainers; [ tomberek ];
};
}