summaryrefslogtreecommitdiff
path: root/guix.scm
blob: aad361627b0bb6c6964d44b90305c68e2f2a17c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
;;; guile-xapian --- Guile bindings for Xapian
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; 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
;;; <https://www.gnu.org/licenses/>.

;;; Run the following command to enter a development environment for
;;; guile-xapian:
;;;
;;;  $ guix environment -l guix.scm

(use-modules (guix build-system gnu)
             (guix git-download)
             ((guix licenses) #:prefix license:)
             (guix packages)
             (gnu packages autotools)
             (gnu packages commencement)
             (gnu packages compression)
             (gnu packages guile)
             (gnu packages pkg-config)
             (gnu packages search)
             (gnu packages swig))

(package
  (name "guile-xapian")
  (version "0.1.0")
  (home-page "https://git.systemreboot.net/guile-xapian")
  (source
   (origin
     (method git-fetch)
     (uri (git-reference
           (url home-page)
           (commit "a14ea81b71803ee93de6edff9065b4bebcb2cf2e")))
     (file-name (git-file-name name version))
     (sha256
      (base32
       "1ac7g0gd8ndwv3ybqn5vjgqxa7090bby4db164a7mn9ssp8b803s"))))
  (inputs
   `(("guile" ,guile-2.2)
     ("xapian" ,xapian)
     ("zlib" ,zlib)))
  (native-inputs
   `(("autoconf" ,autoconf)
     ("autoconf-archive" ,autoconf-archive)
     ("automake" ,automake)
     ("libtool" ,libtool)
     ("pkg-config" ,pkg-config)
     ("swig" ,swig)))
  (build-system gnu-build-system)
  (synopsis "Guile bindings for Xapian")
  (description "Guile bindings for Xapian")
  (license license:gpl2+))