me
/
guix
Archived
1
0
Fork 0

gnu: sbcl-cl-sqlite: Update to 0.2.1.

* gnu/packages/lisp-xyz.scm (sbcl-cl-sqlite): Update to 0.2.1.
master
Pierre Neidhardt 2020-09-01 18:51:17 +02:00
parent d8c71fd91f
commit b7d974b3fd
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 36 additions and 38 deletions

View File

@ -2629,45 +2629,43 @@ package.")
(sbcl-package->cl-source-package sbcl-cffi-uffi-compat)) (sbcl-package->cl-source-package sbcl-cffi-uffi-compat))
(define-public sbcl-cl-sqlite (define-public sbcl-cl-sqlite
(let ((commit "c738e66d4266ef63a1debc4ef4a1b871a068c112")) (package
(package (name "sbcl-cl-sqlite")
(name "sbcl-cl-sqlite") (version "0.2.1")
(version (git-version "0.2" "1" commit)) (source
(source (origin
(origin (method git-fetch)
(method git-fetch) (uri (git-reference
(uri (git-reference (url "https://github.com/dmitryvk/cl-sqlite")
(url "https://github.com/dmitryvk/cl-sqlite") (commit version)))
(commit commit))) (file-name (git-file-name "cl-sqlite" version))
(file-name (git-file-name "cl-sqlite" version)) (sha256
(sha256 (base32
(base32 "08iv7b4m0hh7qx2cvq4f510nrgdld0vicnvmqsh9w0fgrcgmyg4k"))))
"1ng45k1hdb84sqjryrfx93g66bsbybmpy301wd0fdybnc5jzr36q")))) (build-system asdf-build-system/sbcl)
(build-system asdf-build-system/sbcl) (inputs
(inputs `(("iterate" ,sbcl-iterate)
`(("iterate" ,sbcl-iterate) ("cffi" ,sbcl-cffi)
("cffi" ,sbcl-cffi) ("sqlite" ,sqlite)))
("sqlite" ,sqlite))) (native-inputs
(native-inputs `(("fiveam" ,sbcl-fiveam)
`(("fiveam" ,sbcl-fiveam) ("bordeaux-threads" ,sbcl-bordeaux-threads)))
("bordeaux-threads" ,sbcl-bordeaux-threads))) (arguments
(arguments `(#:asd-file "sqlite.asd"
`(#:tests? #f ; Upstream seems to have issues with tests: https://github.com/dmitryvk/cl-sqlite/issues/7 #:asd-system-name "sqlite"
#:asd-file "sqlite.asd" #:phases
#:asd-system-name "sqlite" (modify-phases %standard-phases
#:phases (add-after 'unpack 'fix-paths
(modify-phases %standard-phases (lambda* (#:key inputs #:allow-other-keys)
(add-after 'unpack 'fix-paths (substitute* "sqlite-ffi.lisp"
(lambda* (#:key inputs #:allow-other-keys) (("libsqlite3" all) (string-append
(substitute* "sqlite-ffi.lisp" (assoc-ref inputs "sqlite")"/lib/" all))))))))
(("libsqlite3" all) (string-append (home-page "https://common-lisp.net/project/cl-sqlite/")
(assoc-ref inputs "sqlite")"/lib/" all)))))))) (synopsis "Common Lisp binding for SQLite")
(home-page "https://common-lisp.net/project/cl-sqlite/") (description
(synopsis "Common Lisp binding for SQLite") "The @command{cl-sqlite} package is an interface to the SQLite embedded
(description
"The @command{cl-sqlite} package is an interface to the SQLite embedded
relational database engine.") relational database engine.")
(license license:public-domain)))) (license license:public-domain)))
(define-public cl-sqlite (define-public cl-sqlite
(sbcl-package->cl-source-package sbcl-cl-sqlite)) (sbcl-package->cl-source-package sbcl-cl-sqlite))