summary refs log tree commit diff
diff options
context:
space:
mode:
-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+))