;;; guile-xapian --- Guile bindings for Xapian ;;; Copyright © 2021–2024, 2026 Arun Isaac ;;; ;;; This file is part of guile-xapian. ;;; ;;; guile-xapian is free software: you can redistribute it and/or ;;; modify it under the terms of the GNU General Public License as ;;; published by the Free Software Foundation, either version 2 of the ;;; License, or (at your option) any later version. ;;; ;;; guile-xapian is distributed in the hope that it will be useful, ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with guile-xapian. If not, see ;;; . (define-module (guile-xapian-package) #:use-module ((gnu packages autotools) #:select (autoconf autoconf-archive automake libtool)) #:use-module ((gnu packages guile) #:select (guile-2.2)) #:use-module ((gnu packages guile-xyz) #:prefix guix:) #:use-module ((gnu packages guile-xyz) #:select (guile-run64)) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils)) (define-public guile2.2-run64 (package (inherit guile-run64) (name "guile2.2-run64") (inputs (modify-inputs inputs (replace "guile" guile-2.2))))) (define-public guile-xapian (package (inherit guix:guile-xapian) (source (local-file ".." "guile-xapian-checkout" #:recursive? #t #:select? (or (git-predicate (dirname (current-source-directory))) (const #t)))) (native-inputs (modify-inputs (package-native-inputs guix:guile-xapian) (prepend autoconf autoconf-archive automake libtool guile-run64))))) (define-public guile2.2-xapian (package (inherit guix:guile2.2-xapian) (source (local-file ".." "guile-xapian-checkout" #:recursive? #t #:select? (or (git-predicate (dirname (current-source-directory))) (const #t)))) (native-inputs (modify-inputs (package-native-inputs guix:guile2.2-xapian) (prepend autoconf autoconf-archive automake libtool guile2.2-run64))))) guile-xapian