summary refs log tree commit diff
path: root/pkgs/development/libraries/flann
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-03-08 09:19:37 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-03-08 09:19:37 +0000
commita136bd7968b2ce244239e0950f8fa2abab4b9ca4 (patch)
tree58a54568bd0974719a80518a7daeed39e4de96a8 /pkgs/development/libraries/flann
parentd95300f90fd71b094dccf963d717eb25d5637b59 (diff)
downloadnixpkgs-a136bd7968b2ce244239e0950f8fa2abab4b9ca4.tar
nixpkgs-a136bd7968b2ce244239e0950f8fa2abab4b9ca4.tar.gz
nixpkgs-a136bd7968b2ce244239e0950f8fa2abab4b9ca4.tar.bz2
nixpkgs-a136bd7968b2ce244239e0950f8fa2abab4b9ca4.tar.lz
nixpkgs-a136bd7968b2ce244239e0950f8fa2abab4b9ca4.tar.xz
nixpkgs-a136bd7968b2ce244239e0950f8fa2abab4b9ca4.tar.zst
nixpkgs-a136bd7968b2ce244239e0950f8fa2abab4b9ca4.zip
Adding flann
svn path=/nixpkgs/trunk/; revision=26205
Diffstat (limited to 'pkgs/development/libraries/flann')
-rw-r--r--pkgs/development/libraries/flann/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/flann/default.nix b/pkgs/development/libraries/flann/default.nix
new file mode 100644
index 00000000000..eaf4ed8836e
--- /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";
+  };
+}