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.
This commit is contained in:
Jelle Licht 2018-12-29 14:38:35 +01:00
parent d4e915f9b5
commit 56c50c71b5
No known key found for this signature in database
GPG Key ID: DA4597F947B41025
1 changed files with 10 additions and 12 deletions

View File

@ -8775,16 +8775,16 @@ object has been freed.")
(define-public emacs-emacsql (define-public emacs-emacsql
(package (package
(name "emacs-emacsql") (name "emacs-emacsql")
(version "2.0.3") (version "3.0.0")
(source (source (origin
(origin (method git-fetch)
(method url-fetch) (uri (git-reference
(uri (string-append "https://github.com/skeeto/emacsql/archive/" (url "https://github.com/skeeto/emacsql.git")
version ".tar.gz")) (commit (string-append version))))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"04hfjdgl1zc7jysgjc7d7d3xqpr7q1q9gsmzffjd91ii3hpqjgx6")))) "1c84gxr1majqj4b59wgdy3lzm3ap66w9qsrnkx8hdbk9895ak81g"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:modules ((guix build emacs-build-system) `(#:modules ((guix build emacs-build-system)
@ -8819,8 +8819,6 @@ object has been freed.")
(let ((file "emacsql-sqlite.el")) (let ((file "emacsql-sqlite.el"))
(chmod file #o644) (chmod file #o644)
(emacs-substitute-sexps file (emacs-substitute-sexps file
;; Avoid interactive prompts.
("(defvar emacsql-sqlite-user-prompted" 't)
;; Make sure Emacs looks for GCC binary in the right place. ;; Make sure Emacs looks for GCC binary in the right place.
("(executable-find" (which "gcc")) ("(executable-find" (which "gcc"))
;; Make sure Emacs looks for emacsql-sqlite binary ;; Make sure Emacs looks for emacsql-sqlite binary