mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
c3439d3dfc
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/nanoflann/versions
26 lines
605 B
Nix
26 lines
605 B
Nix
{stdenv, fetchFromGitHub, cmake}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3.0";
|
|
name = "nanoflann-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jlblancoc";
|
|
repo = "nanoflann";
|
|
rev = "v${version}";
|
|
sha256 = "1bwdmrz1qygp9qy2nzrp1axa1i4nvm0ljkn6mnhlcvbfsyvhzigv";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|