all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51189] [PATCH] gnu: Add cl-charms
@ 2021-10-13 20:00 Foo Chuan Wei
  2021-10-14 12:29 ` [bug#51189] [PATCH v2] " Foo Chuan Wei
  0 siblings, 1 reply; 3+ messages in thread
From: Foo Chuan Wei @ 2021-10-13 20:00 UTC (permalink / raw)
  To: 51189

* gnu/packages/lisp-xyz.scm (cl-charms, ecl-charms, sbcl-charms):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 29d79e481e..0a21dd87b8 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19072,3 +19072,45 @@ libyaml.")
 
 (define-public ecl-cl-yaml
   (sbcl-package->ecl-package sbcl-cl-yaml))
+
+(define-public sbcl-charms
+  (let ((commit "64aba59d89f85bc5c9402e445873965338a66a02")
+        (revision "1"))
+    (package
+      (name "sbcl-charms")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/HiTECNOLOGYs/cl-charms")
+                       (commit commit)))
+                (file-name (git-file-name "cl-charms" version))
+                (sha256
+                  (base32
+                    "1jczaypa9dhxr34yyhsxb6lrdnircjx8am4iqkc3shfpjn32q323"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs `(("alexandria" ,sbcl-alexandria)
+                ("cffi" ,sbcl-cffi)
+                ("ncurses" ,ncurses)))
+      (arguments '(#:asd-systems '("cl-charms")
+                   #:phases
+                   (modify-phases %standard-phases
+                     (add-after 'unpack 'fix-paths
+                       (lambda* (#:key inputs #:allow-other-keys)
+                         (substitute* "src/low-level/curses-bindings.lisp"
+                           (("libncursesw.so")
+                            (string-append (assoc-ref inputs "ncurses")
+                                           "/lib/libncursesw.so"))))))))
+      (home-page "https://github.com/HiTECNOLOGYs/cl-charms")
+      (synopsis "An interface to libcurses in Common Lisp")
+      (description
+        "cl-charms is an interface to libcurses in Common Lisp. It provides
+both a raw, low-level interface to libcurses via CFFI, and a more higher-level
+lispier interface.")
+      (license license:expat))))
+
+(define-public cl-charms
+  (sbcl-package->cl-source-package sbcl-charms))
+
+(define-public ecl-charms
+  (sbcl-package->ecl-package sbcl-charms))

base-commit: 393315a98ef0b1cbafb661be5c36bbd4f30dba2e
-- 
2.25.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#51189] [PATCH v2] gnu: Add cl-charms
  2021-10-13 20:00 [bug#51189] [PATCH] gnu: Add cl-charms Foo Chuan Wei
@ 2021-10-14 12:29 ` Foo Chuan Wei
  2021-10-15  9:24   ` bug#51189: " Guillaume Le Vaillant
  0 siblings, 1 reply; 3+ messages in thread
From: Foo Chuan Wei @ 2021-10-14 12:29 UTC (permalink / raw)
  To: 51189

* gnu/packages/lisp-xyz.scm (cl-charms, ecl-cl-charms, sbcl-cl-charms):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 29d79e481e..a45e23c2a1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19072,3 +19072,45 @@ libyaml.")
 
 (define-public ecl-cl-yaml
   (sbcl-package->ecl-package sbcl-cl-yaml))
+
+(define-public sbcl-cl-charms
+  (let ((commit "64aba59d89f85bc5c9402e445873965338a66a02")
+        (revision "1"))
+    (package
+      (name "sbcl-charms")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/HiTECNOLOGYs/cl-charms")
+                       (commit commit)))
+                (file-name (git-file-name "cl-charms" version))
+                (sha256
+                  (base32
+                    "1jczaypa9dhxr34yyhsxb6lrdnircjx8am4iqkc3shfpjn32q323"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs `(("alexandria" ,sbcl-alexandria)
+                ("cffi" ,sbcl-cffi)
+                ("ncurses" ,ncurses)))
+      (arguments '(#:asd-systems '("cl-charms")
+                   #:phases
+                   (modify-phases %standard-phases
+                     (add-after 'unpack 'fix-paths
+                       (lambda* (#:key inputs #:allow-other-keys)
+                         (substitute* "src/low-level/curses-bindings.lisp"
+                           (("libncursesw.so")
+                            (string-append (assoc-ref inputs "ncurses")
+                                           "/lib/libncursesw.so"))))))))
+      (home-page "https://github.com/HiTECNOLOGYs/cl-charms")
+      (synopsis "An interface to libcurses in Common Lisp")
+      (description
+        "cl-charms is an interface to libcurses in Common Lisp. It provides
+both a raw, low-level interface to libcurses via CFFI, and a more higher-level
+lispier interface.")
+      (license license:expat))))
+
+(define-public cl-charms
+  (sbcl-package->cl-source-package sbcl-cl-charms))
+
+(define-public ecl-cl-charms
+  (sbcl-package->ecl-package sbcl-cl-charms))

base-commit: 5fafb6e792c1e18ec223f0c7fb350d0c9b962a45
-- 
2.25.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#51189: [PATCH v2] gnu: Add cl-charms
  2021-10-14 12:29 ` [bug#51189] [PATCH v2] " Foo Chuan Wei
@ 2021-10-15  9:24   ` Guillaume Le Vaillant
  0 siblings, 0 replies; 3+ messages in thread
From: Guillaume Le Vaillant @ 2021-10-15  9:24 UTC (permalink / raw)
  To: Foo Chuan Wei; +Cc: 51189-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as 8d048c5eba57c4993434ec89367d9e09a2e79209.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-15  9:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 20:00 [bug#51189] [PATCH] gnu: Add cl-charms Foo Chuan Wei
2021-10-14 12:29 ` [bug#51189] [PATCH v2] " Foo Chuan Wei
2021-10-15  9:24   ` bug#51189: " Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.