mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
40b7b89353
Semi-automatic update. These checks were performed: - built on NixOS - found 1.2.3 with grep in /nix/store/gglvdgfxscxg7hhdgbxyzdvd01kv4nxa-nanoflann-1.2.3 - found 1.2.3 in filename of file in /nix/store/gglvdgfxscxg7hhdgbxyzdvd01kv4nxa-nanoflann-1.2.3
26 lines
605 B
Nix
26 lines
605 B
Nix
{stdenv, fetchFromGitHub, cmake}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.2.3";
|
|
name = "nanoflann-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jlblancoc";
|
|
repo = "nanoflann";
|
|
rev = "v${version}";
|
|
sha256 = "1jrh73kjvdv7s7zc1sc3z254i17lpvn77b19wx32nvzsfxs4g44i";
|
|
};
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
meta = {
|
|
homepage = https://github.com/jlblancoc/nanoflann;
|
|
license = stdenv.lib.licenses.bsd3;
|
|
description = "Header only C++ library for approximate nearest neighbor search";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|