GNU bug report logs - #51189
[PATCH] gnu: Add cl-charms

Previous Next

Package: guix-patches;

Reported by: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>

Date: Wed, 13 Oct 2021 20:01:02 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51189 in the body.
You can then email your comments to 51189 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#51189; Package guix-patches. (Wed, 13 Oct 2021 20:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 13 Oct 2021 20:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add cl-charms
Date: Wed, 13 Oct 2021 20:00:42 +0000
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#51189; Package guix-patches. (Thu, 14 Oct 2021 12:30:01 GMT) Full text and rfc822 format available.

Message #8 received at 51189 <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: 51189 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add cl-charms
Date: Thu, 14 Oct 2021 12:29:27 +0000
* 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





Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Fri, 15 Oct 2021 09:26:02 GMT) Full text and rfc822 format available.

Notification sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
bug acknowledged by developer. (Fri, 15 Oct 2021 09:26:02 GMT) Full text and rfc822 format available.

Message #13 received at 51189-done <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
Cc: 51189-done <at> debbugs.gnu.org
Subject: Re: [bug#51189] [PATCH v2] gnu: Add cl-charms
Date: Fri, 15 Oct 2021 09:24:29 +0000
[Message part 1 (text/plain, inline)]
Patch pushed as 8d048c5eba57c4993434ec89367d9e09a2e79209.
Thanks.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Nov 2021 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.