File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
development/libraries/xapian Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 4747
4848 passthru . tests = {
4949 inherit mu xapian-omega ;
50- inherit ( perlPackages ) SearchXapian ;
50+ inherit ( perlPackages ) SearchXapian Xapian ;
5151 python-xapian = python3 . pkgs . xapian ;
5252 } ;
5353
Original file line number Diff line number Diff line change @@ -28613,6 +28613,35 @@ with self; {
2861328613 };
2861428614 };
2861528615
28616+ Xapian = buildPerlModule rec {
28617+ pname = "Xapian";
28618+ version = "1.4.27";
28619+ src = fetchurl {
28620+ url = "https://oligarchy.co.uk/xapian/${version}/xapian-bindings-${version}.tar.xz";
28621+ sha256 = "1fhq6rydjymmyn79cdza0j4rmlizrrwmf5mx276rlmwyh085wfxs";
28622+ };
28623+ buildInputs = [ pkgs.xapian ];
28624+ preConfigure = ''
28625+ # FIXME: doesn't work for cross
28626+ export PERL_LIB="$out/lib/perl5/site_perl/${perl.version}"
28627+ export PERL_ARCH="$PERL_LIB/$(perl -MConfig -e 'print $Config{archname}')"
28628+ '';
28629+ configureFlags = [
28630+ "--with-perl"
28631+ ];
28632+ outputs = [ "out" ]; # no "devdoc"
28633+ # Use default phases
28634+ buildPhase = null;
28635+ checkPhase = null;
28636+ checkTarget = "check";
28637+ installPhase = null;
28638+ meta = {
28639+ description = "Bindings allowing Xapian to be used from Perl";
28640+ homepage = "https://xapian.org";
28641+ license = [ lib.licenses.gpl2Plus ];
28642+ };
28643+ };
28644+
2861628645 XMLDescent = buildPerlModule {
2861728646 pname = "XML-Descent";
2861828647 version = "1.04";
You can’t perform that action at this time.
0 commit comments