2016-09-03 15:42:53 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xapian, perl, pcre, zlib, libmagic }:
|
2015-12-04 16:55:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xapian-omega-${version}";
|
2017-05-07 04:39:50 +02:00
|
|
|
inherit (xapian) version;
|
2015-12-04 16:55:49 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
|
2017-05-07 04:39:50 +02:00
|
|
|
sha256 = "0pl9gs0sbavxykfgrkm8syswqnfynmmqhf8429bv8a5qjh5pkp8l";
|
2015-12-04 16:55:49 +01:00
|
|
|
};
|
|
|
|
|
2017-05-07 04:39:50 +02:00
|
|
|
buildInputs = [ xapian perl pcre zlib libmagic ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-12-04 16:55:49 +01: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 19:50:55 +02:00
|
|
|
platforms = platforms.unix;
|
2015-12-04 16:55:49 +01:00
|
|
|
};
|
|
|
|
}
|