2016-09-03 14:42:53 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xapian, perl, pcre, zlib, libmagic }:
|
2015-12-04 15:55:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xapian-omega-${version}";
|
2016-09-04 15:18:00 +01:00
|
|
|
version = (builtins.parseDrvName xapian.name).version;
|
2015-12-04 15:55:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
|
2016-09-03 14:42:53 +01:00
|
|
|
sha256 = "07s341m1csk4v7mc44mqrzc1nxpnmdkji9k1cirbx6q0nlshdz0h";
|
2015-12-04 15:55:49 +00:00
|
|
|
};
|
|
|
|
|
2016-09-03 14:42:53 +01:00
|
|
|
buildInputs = [ pkgconfig xapian perl pcre zlib libmagic ];
|
2015-12-04 15:55:49 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Indexer and CGI search front-end built on Xapian library";
|
|
|
|
homepage = http://xapian.org/;
|
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2015-12-04 15:55:49 +00:00
|
|
|
};
|
|
|
|
}
|