summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2020-10-14 10:34:26 +0530
committerArun Isaac2020-10-14 10:34:26 +0530
commit59ab908b1155f7159231e9903fbe6e0dc403f1db (patch)
treed818ceb511b01055e77e20d8ac48f6c9d8108541
parent612317c1335fc5b9fe64eb09e3dc2bb508d100c6 (diff)
downloadguile-xapian-59ab908b1155f7159231e9903fbe6e0dc403f1db.tar.gz
guile-xapian-59ab908b1155f7159231e9903fbe6e0dc403f1db.tar.lz
guile-xapian-59ab908b1155f7159231e9903fbe6e0dc403f1db.zip
Use Guix's guile-xapian package for `guix environment`.
* guix.scm: Delete file. * README.org (Usage): Update `guix environment` instructions.
-rw-r--r--README.org2
-rw-r--r--guix.scm65
2 files changed, 1 insertions, 66 deletions
diff --git a/README.org b/README.org
index 5d5bb47..3a62512 100644
--- a/README.org
+++ b/README.org
@@ -29,7 +29,7 @@ any time.
Drop into a development environment.
#+BEGIN_SRC sh
-guix environment -l guix.scm
+guix environment guile-xapian
#+END_SRC
Bootstrap autotools, then configure and make.
diff --git a/guix.scm b/guix.scm
deleted file mode 100644
index aad3616..0000000
--- a/guix.scm
+++ /dev/null
@@ -1,65 +0,0 @@
-;;; 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+))