diff options
author | ykonai <mail@ykonai.net> | 2023-08-08 15:52:12 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2023-08-18 12:33:46 +0200 |
commit | 3e8fccfdc476a78c91a294832330c98daf129b86 (patch) | |
tree | e2be6258828b6a65981a85ac3fe25697bb9772f6 /gnu | |
parent | 518dc96eb320fbd5a8a98766db4f071761273b37 (diff) | |
download | guix-3e8fccfdc476a78c91a294832330c98daf129b86.tar.gz |
gnu: Add cl-gtk4.
* gnu/packages/lisp-xyz.scm (sbcl-cl-gtk4, cl-gtk4, ecl-cl-gtk4): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index f64a3a025b..01acd0299f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -9678,6 +9678,43 @@ Common Lisp via Gobject Introspection.") (define-public ecl-cl-glib (sbcl-package->ecl-package sbcl-cl-glib)) +(define-public sbcl-cl-gtk4 + (let ((commit "d116905e7b68508d03681a50b3b24d63e7b111e4") + (revision "1")) + (package + (name "sbcl-cl-gtk4") + (version (git-version "1.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bohonghuang/cl-gtk4") + (commit commit))) + (file-name (git-file-name "cl-gtk4" version)) + (sha256 + (base32 "0mprmmvbagnflvhynn51l42nbwr08rld99ls0c48m5lpjn0ja4zc")))) + (build-system asdf-build-system/sbcl) + (arguments + '(#:asd-systems '("cl-gtk4" "cl-gdk4"))) + ;; propagate because it at least requires the typelib files at runtime + (propagated-inputs (list gtk)) + (inputs + (list gobject-introspection + sbcl-cl-glib + sbcl-cl-gobject-introspection-wrapper)) + (home-page "https://github.com/bohonghuang/cl-gtk4") + (synopsis "GTK4 bindings for Common Lisp") + (description + "This library provides GTK4 bindings for Common Lisp via Gobject +Introspection, in the cl-gtk4 ASDF system.") + (license license:lgpl3)))) + +(define-public cl-gtk4 + (sbcl-package->cl-source-package sbcl-cl-gtk4)) + +(define-public ecl-cl-gtk4 + (sbcl-package->ecl-package sbcl-cl-gtk4)) + (define-public sbcl-cl-slug (let ((commit "ffb229d10f0d3f7f54e706791725225e200bf749") (revision "1")) |