Skip to content

Commit 994299b

Browse files
committedMay 7, 2017
xapian: 1.4.0 -> 1.4.4
1 parent 21e95c0 commit 994299b

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed
 
+12-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
{ stdenv, fetchurl, libuuid, zlib }:
1+
{ stdenv, fetchurl, autoreconfHook
2+
, libuuid, zlib }:
23

34
let
45
generic = version: sha256: stdenv.mkDerivation rec {
56
name = "xapian-${version}";
7+
passthru = { inherit version; };
68

79
src = fetchurl {
810
url = "http://oligarchy.co.uk/xapian/${version}/xapian-core-${version}.tar.xz";
@@ -12,17 +14,20 @@ let
1214
outputs = [ "out" "doc" ];
1315

1416
buildInputs = [ libuuid zlib ];
17+
nativeBuildInputs = [ autoreconfHook ];
1518

16-
meta = {
19+
doCheck = true;
20+
21+
meta = with stdenv.lib; {
1722
description = "Search engine library";
1823
homepage = http://xapian.org/;
19-
license = stdenv.lib.licenses.gpl2Plus;
20-
maintainers = [ stdenv.lib.maintainers.chaoflow ];
21-
platforms = stdenv.lib.platforms.unix;
24+
license = licenses.gpl2Plus;
25+
maintainers = with maintainers; [ chaoflow ];
26+
platforms = platforms.unix;
2227
};
2328
};
2429
in {
25-
# used by xapian-ruby
30+
# xapian-ruby needs 1.2.22 as of 2017-05-06
2631
xapian_1_2_22 = generic "1.2.22" "0zsji22n0s7cdnbgj0kpil05a6bgm5cfv0mvx12d8ydg7z58g6r6";
27-
xapian_1_4_0 = generic "1.4.0" "0xv4da5rmqqzkkkzx2v3jwh5hz5zxhd2b7m8x30fk99a25blyn0h";
32+
xapian_1_4_4 = generic "1.4.4" "1n9j2w2as0flih3hgim7gprfxsx6gimijs91rxsjsi8shjlqbad6";
2833
}

‎pkgs/development/libraries/xapian/tools/omega/default.nix

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
stdenv.mkDerivation rec {
44
name = "xapian-omega-${version}";
5-
version = (builtins.parseDrvName xapian.name).version;
5+
inherit (xapian) version;
66

77
src = fetchurl {
88
url = "http://oligarchy.co.uk/xapian/${version}/xapian-omega-${version}.tar.xz";
9-
sha256 = "07s341m1csk4v7mc44mqrzc1nxpnmdkji9k1cirbx6q0nlshdz0h";
9+
sha256 = "0pl9gs0sbavxykfgrkm8syswqnfynmmqhf8429bv8a5qjh5pkp8l";
1010
};
1111

12-
buildInputs = [ pkgconfig xapian perl pcre zlib libmagic ];
12+
buildInputs = [ xapian perl pcre zlib libmagic ];
13+
nativeBuildInputs = [ pkgconfig ];
1314

1415
meta = with stdenv.lib; {
1516
description = "Indexer and CGI search front-end built on Xapian library";

‎pkgs/top-level/all-packages.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -10311,8 +10311,8 @@ with pkgs;
1031110311
x265 = callPackage ../development/libraries/x265 { };
1031210312

1031310313
inherit (callPackages ../development/libraries/xapian { })
10314-
xapian_1_2_22 xapian_1_4_0;
10315-
xapian = xapian_1_4_0;
10314+
xapian_1_2_22 xapian_1_4_4;
10315+
xapian = xapian_1_4_4;
1031610316

1031710317
xapian-omega = callPackage ../development/libraries/xapian/tools/omega {
1031810318
libmagic = file;

0 commit comments

Comments
 (0)
Please sign in to comment.