gnu: cl-iolib: Update to 0.8.4-0.010b7a6.

* gnu/packages/lisp-xyz.scm (sbcl-iolib): Update to 0.8.4.0.010b7a6.
  [native-inputs]: Add pkg-config and sbcl-fiveam.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Andre A. Gomes 2023-08-28 10:18:04 +03:00 committed by Guillaume Le Vaillant
parent 32792d2073
commit 2c6133295d
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -7982,51 +7982,54 @@ (define-public ecl-swap-bytes
(sbcl-package->ecl-package sbcl-swap-bytes)) (sbcl-package->ecl-package sbcl-swap-bytes))
(define-public sbcl-iolib (define-public sbcl-iolib
(package (let ((commit "010b7a6bdd2e918ebf2ec85edd3853179f01cb30")
(name "sbcl-iolib") (revision "0"))
(version "0.8.4") (package
(home-page "https://github.com/sionescu/iolib") (name "sbcl-iolib")
(source (version (git-version "0.8.4" revision commit))
(origin (home-page "https://github.com/sionescu/iolib")
(method git-fetch) (source
(uri (git-reference (origin
(url home-page) (method git-fetch)
(commit (string-append "v" version)))) (uri (git-reference
(file-name (git-file-name name version)) (url home-page)
(sha256 (commit commit)))
(base32 (file-name (git-file-name "cl-iolib" version))
"1f43jqqqwp9n7xksqxw91myapsdbc2dxck6nd6flakbnp9haylyq")))) (sha256
(build-system asdf-build-system/sbcl) (base32 "1qqy2yhprkmdn2vmi69akf818q3n99gv8cacv6456af0wjm5p1ga"))))
(inputs (build-system asdf-build-system/sbcl)
`(("alexandria" ,sbcl-alexandria) (native-inputs
("bordeaux-threads" ,sbcl-bordeaux-threads) (list pkg-config sbcl-fiveam))
("cffi" ,sbcl-cffi) (inputs
("idna" ,sbcl-idna) (list libfixposix
("libfixposix" ,libfixposix) sbcl-alexandria
("split-sequence" ,sbcl-split-sequence) sbcl-bordeaux-threads
("swap-bytes" ,sbcl-swap-bytes))) sbcl-cffi
(arguments sbcl-idna
'(#:asd-systems '("iolib" sbcl-split-sequence
"iolib/os") sbcl-swap-bytes))
#:phases (arguments
(modify-phases %standard-phases '(#:asd-systems '("iolib"
(add-after 'unpack 'fix-paths "iolib/os")
(lambda* (#:key inputs #:allow-other-keys) #:phases
(substitute* "src/syscalls/ffi-functions-unix.lisp" (modify-phases %standard-phases
(("\\(:default \"libfixposix\"\\)") (add-after 'unpack 'fix-paths
(string-append (lambda* (#:key inputs #:allow-other-keys)
"(:default \"" (substitute* "src/syscalls/ffi-functions-unix.lisp"
(assoc-ref inputs "libfixposix") "/lib/libfixposix\")"))) (("\\(:default \"libfixposix\"\\)")
;; Socket tests need Internet access, disable them. (string-append
(substitute* "iolib.asd" "(:default \""
(("\\(:file \"sockets\" :depends-on \\(\"pkgdcl\" \"defsuites\"\\)\\)") (assoc-ref inputs "libfixposix") "/lib/libfixposix\")")))
""))))))) ;; Socket tests need Internet access, disable them.
(synopsis "Common Lisp I/O library") (substitute* "iolib.asd"
(description "IOlib is to be a better and more modern I/O library than (("\\(:file \"sockets\" :depends-on \\(\"pkgdcl\" \"defsuites\"\\)\\)")
"")))))))
(synopsis "Common Lisp I/O library")
(description "IOlib is to be a better and more modern I/O library than
the standard Common Lisp library. It contains a socket library, a DNS the standard Common Lisp library. It contains a socket library, a DNS
resolver, an I/O multiplexer(which supports @code{select(2)}, @code{epoll(4)} resolver, an I/O multiplexer(which supports @code{select(2)}, @code{epoll(4)}
and @code{kqueue(2)}), a pathname library and file-system utilities.") and @code{kqueue(2)}), a pathname library and file-system utilities.")
(license license:expat))) (license license:expat))))
(define-public cl-iolib (define-public cl-iolib
(let ((parent (sbcl-package->cl-source-package sbcl-iolib))) (let ((parent (sbcl-package->cl-source-package sbcl-iolib)))