summary refs log tree commit diff
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2018-12-29 14:38:35 +0100
committerJelle Licht <jlicht@fsfe.org>2019-01-09 22:38:06 +0100
commit56c50c71b57b03251474f9ece4d1f2a6359d33f4 (patch)
treeb60f13210febc5cce18bf712e7b9d6d3cd3d7a6b
parentd4e915f9b5bf817c0e8f3832b8013a7be198a604 (diff)
downloadguix-56c50c71b57b03251474f9ece4d1f2a6359d33f4.tar.gz
gnu: emacs-emacsql: Update to 3.0.0.
* gnu/packages/emacs.scm (emacs-emacsql): Update to 3.0.0.
[source]: Use 'git-fetch'.
[arguments]: Remove unnecessary fix.
-rw-r--r--gnu/packages/emacs.scm22
1 files changed, 10 insertions, 12 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index b004345717..32919d810d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -8775,16 +8775,16 @@ object has been freed.")
 (define-public emacs-emacsql
   (package
     (name "emacs-emacsql")
-    (version "2.0.3")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/skeeto/emacsql/archive/"
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "04hfjdgl1zc7jysgjc7d7d3xqpr7q1q9gsmzffjd91ii3hpqjgx6"))))
+    (version "3.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/skeeto/emacsql.git")
+                    (commit (string-append version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1c84gxr1majqj4b59wgdy3lzm3ap66w9qsrnkx8hdbk9895ak81g"))))
     (build-system emacs-build-system)
     (arguments
      `(#:modules ((guix build emacs-build-system)
@@ -8819,8 +8819,6 @@ object has been freed.")
              (let ((file "emacsql-sqlite.el"))
                (chmod file #o644)
                (emacs-substitute-sexps file
-                 ;; Avoid interactive prompts.
-                 ("(defvar emacsql-sqlite-user-prompted" 't)
                  ;; Make sure Emacs looks for ‘GCC’ binary in the right place.
                  ("(executable-find" (which "gcc"))
                  ;; Make sure Emacs looks for ‘emacsql-sqlite’ binary