File tree 3 files changed +18
-12
lines changed
development/libraries/xapian
3 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 1
- { stdenv , fetchurl , libuuid , zlib } :
1
+ { stdenv , fetchurl , autoreconfHook
2
+ , libuuid , zlib } :
2
3
3
4
let
4
5
generic = version : sha256 : stdenv . mkDerivation rec {
5
6
name = "xapian-${ version } " ;
7
+ passthru = { inherit version ; } ;
6
8
7
9
src = fetchurl {
8
10
url = "http://oligarchy.co.uk/xapian/${ version } /xapian-core-${ version } .tar.xz" ;
12
14
outputs = [ "out" "doc" ] ;
13
15
14
16
buildInputs = [ libuuid zlib ] ;
17
+ nativeBuildInputs = [ autoreconfHook ] ;
15
18
16
- meta = {
19
+ doCheck = true ;
20
+
21
+ meta = with stdenv . lib ; {
17
22
description = "Search engine library" ;
18
23
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 ;
22
27
} ;
23
28
} ;
24
29
in {
25
- # used by xapian-ruby
30
+ # xapian-ruby needs 1.2.22 as of 2017-05-06
26
31
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 " ;
28
33
}
Original file line number Diff line number Diff line change 2
2
3
3
stdenv . mkDerivation rec {
4
4
name = "xapian-omega-${ version } " ;
5
- version = ( builtins . parseDrvName xapian . name ) . version ;
5
+ inherit ( xapian ) version ;
6
6
7
7
src = fetchurl {
8
8
url = "http://oligarchy.co.uk/xapian/${ version } /xapian-omega-${ version } .tar.xz" ;
9
- sha256 = "07s341m1csk4v7mc44mqrzc1nxpnmdkji9k1cirbx6q0nlshdz0h " ;
9
+ sha256 = "0pl9gs0sbavxykfgrkm8syswqnfynmmqhf8429bv8a5qjh5pkp8l " ;
10
10
} ;
11
11
12
- buildInputs = [ pkgconfig xapian perl pcre zlib libmagic ] ;
12
+ buildInputs = [ xapian perl pcre zlib libmagic ] ;
13
+ nativeBuildInputs = [ pkgconfig ] ;
13
14
14
15
meta = with stdenv . lib ; {
15
16
description = "Indexer and CGI search front-end built on Xapian library" ;
Original file line number Diff line number Diff line change @@ -10311,8 +10311,8 @@ with pkgs;
10311
10311
x265 = callPackage ../development/libraries/x265 { };
10312
10312
10313
10313
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 ;
10316
10316
10317
10317
xapian-omega = callPackage ../development/libraries/xapian/tools/omega {
10318
10318
libmagic = file;
You can’t perform that action at this time.
0 commit comments