about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/xapian/tools/omega/default.nix
blob: 1203f19d6c82ac0980b163183c490c18c71c7a2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, pkgconfig, xapian, perl, pcre, zlib, libmagic }:

stdenv.mkDerivation rec {
  name = "xapian-omega-${version}";
  inherit (xapian) version;

  src = fetchurl {
    url = "https://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
    sha256 = "0zji8ckp4h5xdy2wbir3lvk680w1g1l4h5swmaxsx7ah12lkrjcr";
  };

  buildInputs = [ xapian perl pcre zlib libmagic ];
  nativeBuildInputs = [ pkgconfig ];

  meta = with stdenv.lib; {
    description = "Indexer and CGI search front-end built on Xapian library";
    homepage = https://xapian.org/;
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
  };
}