gnu: Add static-vectors.

* gnu/packages/lisp.scm (sbcl-static-vectors, cl-static-vectors): New variables.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Katherine Cox-Buday 2019-03-29 15:56:28 -05:00 committed by 宋文武
parent d75d5dd5a3
commit 6ae60f04c1
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 31 additions and 0 deletions

View File

@ -4558,3 +4558,34 @@ Lisp.")
(define-public cl-fast-http (define-public cl-fast-http
(sbcl-package->cl-source-package sbcl-fast-http)) (sbcl-package->cl-source-package sbcl-fast-http))
(define-public sbcl-static-vectors
(let ((commit "0681eac1f49370cde03e64b077251e8abf47d702")
(revision "1"))
(package
(name "sbcl-static-vectors")
(version (git-version "1.8.3" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sionescu/static-vectors.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "138nlsq14hv8785ycjm6jw3i6ablhq8vcwys7q09y80arcgrg6r3"))))
(native-inputs
`(("sbcl-fiveam" ,sbcl-fiveam)))
(inputs
`(("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
("sbcl-cffi" ,sbcl-cffi)))
(build-system asdf-build-system/sbcl)
(home-page "http://common-lisp.net/projects/iolib/")
(synopsis "Allocate SIMPLE-ARRAYs in static memory")
(description
"With @code{static-vectors}, you can create vectors allocated in static
memory.")
(license license:expat))))
(define-public cl-static-vectors
(sbcl-package->cl-source-package sbcl-static-vectors))