me
/
guix
Archived
1
0
Fork 0

gnu: emacs-emacsql-sqlite3: Update to 1.0.2-1.2113618.

* gnu/packages/emacs-xyz.scm (emacs-emacsql-sqlite3): Update to
1.0.2-1.2113618.
master
Ricardo Wurmus 2023-04-23 20:01:35 +02:00
parent 178ce335d6
commit c7a0445655
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 38 additions and 35 deletions

View File

@ -21262,42 +21262,45 @@ object @code{nil} corresponds 1:1 with @code{NULL} in the database.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-emacsql-sqlite3 (define-public emacs-emacsql-sqlite3
(package ;; This commit contains changes necessary for Sqlite 3.38+.
(name "emacs-emacsql-sqlite3") (let ((commit "2113618732665f2112cb932a66c0e89c404d8777")
(version "1.0.2") (revision "1"))
(source (package
(origin (name "emacs-emacsql-sqlite3")
(method git-fetch) (version (git-version "1.0.2" revision commit))
(uri (git-reference (source
(url "https://github.com/cireu/emacsql-sqlite3") (origin
(commit version))) (method git-fetch)
(file-name (git-file-name name version)) (uri (git-reference
(sha256 (url "https://github.com/cireu/emacsql-sqlite3")
(base32 "1jzvvsvi8jm2ws3y49nmpmwd3zlvf8j83rl2vwizd1aplwwdnmd6")))) (commit commit)))
(build-system emacs-build-system) (file-name (git-file-name name version))
(arguments (sha256
`(#:tests? #t (base32 "0r8svrd0d4cflx8a8gkynnhafcpv3ksn9rds8dhyx5yibximbzsw"))))
#:test-command '("emacs" "-Q" "--batch" "-L" "." (build-system emacs-build-system)
"--load" "emacsql-sqlite3-test.el" (arguments
"-f" "ert-run-tests-batch-and-exit") `(#:tests? #t
#:phases #:test-command '("emacs" "-Q" "--batch" "-L" "."
(modify-phases %standard-phases "--load" "emacsql-sqlite3-test.el"
(add-after 'unpack 'embed-path-to-sqlite3 "-f" "ert-run-tests-batch-and-exit")
(lambda _ #:phases
(substitute* "emacsql-sqlite3.el" (modify-phases %standard-phases
(("\\(executable-find \"sqlite3\"\\)") (add-after 'unpack 'embed-path-to-sqlite3
(string-append "\"" (which "sqlite3") "\"")))))))) (lambda _
(native-inputs (substitute* "emacsql-sqlite3.el"
(list emacs-ert-runner)) (("\\(executable-find \"sqlite3\"\\)")
(inputs (string-append "\"" (which "sqlite3") "\""))))))))
(list sqlite)) (native-inputs
(propagated-inputs (list emacs-ert-runner))
(list emacs-emacsql)) (inputs
(home-page "https://github.com/cireu/emacsql-sqlite3") (list sqlite))
(synopsis "EmacSQL backend for SQLite") (propagated-inputs
(description "This is yet another EmacSQL backend for SQLite which uses (list emacs-emacsql))
(home-page "https://github.com/cireu/emacsql-sqlite3")
(synopsis "EmacSQL backend for SQLite")
(description "This is yet another EmacSQL backend for SQLite which uses
official @command{sqlite3} executable to access SQL database.") official @command{sqlite3} executable to access SQL database.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public emacs-closql (define-public emacs-closql
(package (package