mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
cd734f5654
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
23 lines
708 B
Nix
23 lines
708 B
Nix
{ lib, stdenv, fetchurl, pkg-config, xapian, perl, pcre2, zlib, libmagic }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xapian-omega";
|
|
inherit (xapian) version;
|
|
|
|
src = fetchurl {
|
|
url = "https://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
|
|
hash = "sha256-0IdW5PM7GJFsyKJJPTEfHL647UNXvUD6XBdErcCA6/8=";
|
|
};
|
|
|
|
buildInputs = [ xapian perl pcre2 zlib libmagic ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
meta = with lib; {
|
|
description = "Indexer and CGI search front-end built on Xapian library";
|
|
homepage = "https://xapian.org/";
|
|
changelog = "https://xapian.org/docs/xapian-omega-${version}/NEWS";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|