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}";
|
2017-05-07 03:39:50 +01:00
|
|
|
inherit (xapian) version;
|
2015-12-04 15:55:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
|
2018-01-01 09:27:06 +00:00
|
|
|
sha256 = "0zji8ckp4h5xdy2wbir3lvk680w1g1l4h5swmaxsx7ah12lkrjcr";
|
2015-12-04 15:55:49 +00:00
|
|
|
};
|
|
|
|
|
2017-05-07 03:39:50 +01:00
|
|
|
buildInputs = [ xapian perl pcre zlib libmagic ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-12-04 15:55:49 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Indexer and CGI search front-end built on Xapian library";
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://xapian.org/;
|
2015-12-04 15:55:49 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2015-12-04 15:55:49 +00:00
|
|
|
};
|
|
|
|
}
|