diff --git a/pkgs/development/libraries/flann/default.nix b/pkgs/development/libraries/flann/default.nix new file mode 100644 index 000000000000..eaf4ed8836e3 --- /dev/null +++ b/pkgs/development/libraries/flann/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl, unzip, cmake, python}: + +stdenv.mkDerivation { + name = "flann-1.6.8"; + + src = fetchurl { + url = http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-1.6.8-src.zip; + sha256 = "0ag9k821jy0983gjrfsjnqkl5axklcih0qkpfy72h3643nin0f50"; + }; + + buildInputs = [ unzip cmake python ]; + + meta = { + homepage = http://people.cs.ubc.ca/~mariusm/flann/; + license = "BSD"; + description = "Fast approximate nearest neighbor searches in high dimensional spaces"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8363ad7153fb..76eae51572f3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2984,6 +2984,8 @@ let singlePrecision = true; }; + flann = callPackage ../development/libraries/flann { }; + fltk11 = callPackage ../development/libraries/fltk/fltk11.nix { }; fltk20 = callPackage ../development/libraries/fltk { };