nanoflann: 1.3.0 -> 1.3.1

* nanoflann: 1.3.0 -> 1.3.1 (#74460)

* nanoflann: fix meta.license
Upstream licensing is BSD-2-Clause
+ explicitly disable the build of examples (requires Eigen3)
This commit is contained in:
R. RyanTM 2019-11-30 08:42:17 -08:00 committed by Renaud
parent d5d6b756af
commit abe30421ee

View File

@ -1,24 +1,28 @@
{stdenv, fetchFromGitHub, cmake}:
stdenv.mkDerivation rec {
version = "1.3.0";
version = "1.3.1";
pname = "nanoflann";
src = fetchFromGitHub {
owner = "jlblancoc";
repo = "nanoflann";
rev = "v${version}";
sha256 = "1bwdmrz1qygp9qy2nzrp1axa1i4nvm0ljkn6mnhlcvbfsyvhzigv";
sha256 = "07vi3yn5y9zk9acdbxy954ghdml15wnyqfizzqwsw8zmc9bf30ih";
};
buildInputs = [ cmake ];
cmakeFlags = [
"-DBUILD_EXAMPLES=OFF"
];
doCheck = true;
checkTarget = "test";
meta = {
homepage = https://github.com/jlblancoc/nanoflann;
license = stdenv.lib.licenses.bsd3;
homepage = "https://github.com/jlblancoc/nanoflann";
license = stdenv.lib.licenses.bsd2;
description = "Header only C++ library for approximate nearest neighbor search";
platforms = stdenv.lib.platforms.unix;
};