Merge pull request #193847 from r-ryantm/auto-update/xapian

xapian: 1.4.20 -> 1.4.21
This commit is contained in:
Mario Rodas
2022-10-02 01:26:28 -05:00
committed by GitHub
3 changed files with 20 additions and 5 deletions
+16 -3
View File
@@ -1,5 +1,13 @@
{ lib, stdenv, fetchurl, autoreconfHook
, libuuid, zlib }:
{ lib
, stdenv
, fetchurl
, autoreconfHook
, libuuid
, zlib
# tests
, mu
}:
let
generic = version: hash: stdenv.mkDerivation {
@@ -29,9 +37,14 @@ let
--replace "#define HAVE___EXP10 1" "#undef HAVE___EXP10"
'';
passthru.tests = {
inherit mu;
};
meta = with lib; {
description = "Search engine library";
homepage = "https://xapian.org/";
changelog = "https://xapian.org/docs/xapian-core-${version}/NEWS";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
@@ -41,5 +54,5 @@ in {
# Don't forget to change the hashes in xapian-omega and
# python3Packages.xapian. They inherit the version from this package, and
# should always be built with the equivalent xapian version.
xapian_1_4 = generic "1.4.20" "sha256-zivl7/cgdcgQbANA5wsQk9vOviq0LcHBvgjdOtQZRC0=";
xapian_1_4 = generic "1.4.21" "sha256-gPhgNNL7VZAHlUgd+uaBv6oQ776BirrTYizcDFXgb4g=";
}
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
hash = "sha256-Cf19bGCzlP0A2EcAZJlpofzDqiuIuyxsoiD9+o0liB8=";
hash = "sha256-iKETxVmPyVgz4SEscL5GOrudVgFWTSG4YWNvc3lVqtU=";
};
buildInputs = [ xapian perl pcre2 zlib libmagic ];
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
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;
};
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchurl {
url = "https://oligarchy.co.uk/xapian/${version}/xapian-bindings-${version}.tar.xz";
hash = "sha256-eGzCjQVmCyJ5VEE68OL2bk6tKgbT322rrqSERUtgHvU=";
hash = "sha256-578eSYK5H4QSidGSFAIdiDccoqbHME31kEnX2ni4PO0=";
};
configureFlags = [
@@ -36,6 +36,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python Bindings for Xapian";
homepage = "https://xapian.org/";
changelog = "https://xapian.org/docs/xapian-bindings-${version}/NEWS";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ jonringer ];
};