python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / nanoflann / default.nix
blob36208fc09a81d632b39db94d2bac59462a63ec9f
1 {lib, stdenv, fetchFromGitHub, cmake}:
3 stdenv.mkDerivation rec {
4   version = "1.4.3";
5   pname = "nanoflann";
7   src = fetchFromGitHub {
8     owner = "jlblancoc";
9     repo = "nanoflann";
10     rev = "v${version}";
11     sha256 = "sha256-NcewcNQcI1CjMNibRF9HCoE2Ibs0/Hy4eOkJ20W3wLo=";
12   };
14   nativeBuildInputs = [ cmake ];
16   cmakeFlags = [
17     "-DBUILD_EXAMPLES=OFF"
18   ];
20   doCheck = true;
21   checkTarget = "test";
23   meta = {
24     homepage = "https://github.com/jlblancoc/nanoflann";
25     license = lib.licenses.bsd2;
26     description = "Header only C++ library for approximate nearest neighbor search";
27     platforms = lib.platforms.unix;
28   };