From 7f5b839524cad9211699c68ea02d11c1758a800b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 18 Nov 2009 09:39:59 +0000 Subject: * 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 --- pkgs/development/libraries/xapian/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/xapian/default.nix (limited to 'pkgs/development/libraries/xapian/default.nix') 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"; + }; +} -- cgit 1.4.1