me
/
guix
Archived
1
0
Fork 0

gnu: Add cl-xkbcommon.

* gnu/packages/lisp-xyz.scm (sbcl-xkbcommon, cl-xkbcommon, ecl-xkbcommon): New
  variables.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Karl Hallsby 2023-10-19 00:06:01 -05:00 committed by Guillaume Le Vaillant
parent 589a165de1
commit cbd1c983e1
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 43 additions and 0 deletions

View File

@ -40,6 +40,7 @@
;;; Copyright © 2023 Roman Scherer <roman@burningswell.com>
;;; Copyright © 2023 ykonai <mail@ykonai.net>
;;; Copyright © 2023 Gabriel Hondet <gabriel.hondet@cominety.net>
;;; Copyright © 2023 Raven Hallsby <karl@hallsby.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -26738,6 +26739,48 @@ instead of #'FOO.
(define-public ecl-nkeymaps
(sbcl-package->ecl-package sbcl-nkeymaps))
(define-public sbcl-xkbcommon
(let ((commit "aa9513d93f42d7816f88dd1bd8bd21375e7d7512")
(revision "0"))
(package
(name "sbcl-xkbcommon")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sdilts/cl-xkbcommon")
(commit commit)))
(file-name (git-file-name "cl-xkbcommon" version))
(sha256
(base32 "02zdbkh7yliw9vg8i8wx2xgcpfni0fr4z0w19kkxvaib8xm9rx1q"))))
(build-system asdf-build-system/sbcl)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "xkbcommon.lisp"
(("libxkbcommon.so.0")
(search-input-file inputs "/lib/libxkbcommon.so"))))))))
(native-inputs
(list pkg-config))
(inputs
(list libxkbcommon
sbcl-cffi))
(home-page "https://github.com/sdilts/cl-xkbcommon")
(synopsis "Common Lisp FFI bindings for xkbcommon")
(description
"This package provides Common Lisp FFI bindings for xkbcommon
(libxkbcommon) using cffi-grovel.")
(license license:expat))))
(define-public cl-xkbcommon
(sbcl-package->cl-source-package sbcl-xkbcommon))
(define-public ecl-xkbcommon
(sbcl-package->ecl-package sbcl-xkbcommon))
(define-public sbcl-njson
(package
(name "sbcl-njson")