2022-07-14 11:10:59 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, xapian, perl, pcre2, zlib, libmagic }:
|
2015-12-04 15:55:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xapian-omega";
|
2017-05-07 02:39:50 +00:00
|
|
|
inherit (xapian) version;
|
2015-12-04 15:55:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
|
2022-10-01 04:18:57 +00:00
|
|
|
hash = "sha256-iKETxVmPyVgz4SEscL5GOrudVgFWTSG4YWNvc3lVqtU=";
|
2015-12-04 15:55:49 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 11:10:59 +00:00
|
|
|
buildInputs = [ xapian perl pcre2 zlib libmagic ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-12-04 15:55:49 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-12-04 15:55:49 +00:00
|
|
|
description = "Indexer and CGI search front-end built on Xapian library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://xapian.org/";
|
2022-10-01 04:20:00 +00:00
|
|
|
changelog = "https://xapian.org/docs/xapian-omega-${version}/NEWS";
|
2015-12-04 15:55:49 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2015-12-04 15:55:49 +00:00
|
|
|
};
|
|
|
|
}
|