mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 23:10:02 +00:00
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
22 lines
645 B
Nix
22 lines
645 B
Nix
{ 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;
|
|
};
|
|
}
|