summary refs log tree commit diff
path: root/pkgs/development/libraries/xapian/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-11-18 09:39:59 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-11-18 09:39:59 +0000
commit7f5b839524cad9211699c68ea02d11c1758a800b (patch)
treeed963d727a8e719d2e1eae8ed31454d59ba2aba3 /pkgs/development/libraries/xapian/default.nix
parent52e9488541dc9e207d853ce2aa31d0e453c34767 (diff)
downloadnixpkgs-7f5b839524cad9211699c68ea02d11c1758a800b.tar
nixpkgs-7f5b839524cad9211699c68ea02d11c1758a800b.tar.gz
nixpkgs-7f5b839524cad9211699c68ea02d11c1758a800b.tar.bz2
nixpkgs-7f5b839524cad9211699c68ea02d11c1758a800b.tar.lz
nixpkgs-7f5b839524cad9211699c68ea02d11c1758a800b.tar.xz
nixpkgs-7f5b839524cad9211699c68ea02d11c1758a800b.tar.zst
nixpkgs-7f5b839524cad9211699c68ea02d11c1758a800b.zip
* Removed selectVersion. There's no good reason to write
  `selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'.
* Replaced `with args' with formal function arguments in several
  packages.
* Renamed several files to `default.nix'.  As a general rule, version
  numbers should only be included in the filename when there is a
  reason to keep multiple versions of a package in Nixpkgs.
  Otherwise, it just makes it harder to update the package.

svn path=/nixpkgs/trunk/; revision=18403
Diffstat (limited to 'pkgs/development/libraries/xapian/default.nix')
-rw-r--r--pkgs/development/libraries/xapian/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/xapian/default.nix b/pkgs/development/libraries/xapian/default.nix
new file mode 100644
index 00000000000..6b2966ee7e2
--- /dev/null
+++ b/pkgs/development/libraries/xapian/default.nix
@@ -0,0 +1,18 @@
+{ stdenv, fetchurl, zlib }:
+
+stdenv.mkDerivation {
+  name = "xapian-1.0.14";
+
+  src = fetchurl {
+    url = http://oligarchy.co.uk/xapian/1.0.14/xapian-core-1.0.14.tar.gz;
+    sha256 = "0d51p6210059dbf0vn6zh2iyg4i5pynmhyh0gphnph2b317a1dcx";
+  };
+
+  buildInputs = [zlib];
+
+  meta = { 
+    description = "Xapian Probabilistic Information Retrieval library";
+    homepage = "http://xapian.org";
+    license = "GPLv2";
+  };
+}