1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/development/libraries/nanoflann/default.nix
Ryan Mulligan 40b7b89353 nanoflann: 1.1.9 -> 1.2.3
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
2018-02-27 07:56:25 -08:00

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;
};
}