unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57577] [PATCH] gnu: Add cl-portable-condition-system.
@ 2022-09-04 13:25 jgart via Guix-patches via
  2022-09-04 17:54 ` bug#57577: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2022-09-04 13:25 UTC (permalink / raw)
  To: 57577; +Cc: jgart

* gnu/packages/lisp-xyz.scm (cl-portable-condition-system): New variable.
---
 gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1e6222a992..b0d973ad87 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22793,6 +22793,43 @@ (define-public cl-safe-read
 (define-public ecl-safe-read
   (sbcl-package->ecl-package sbcl-safe-read))
 
+(define-public sbcl-portable-condition-system
+  (let ((commit "1307ec146d227a9d8ea42312c1ba2a5206a9eb3c")
+        (revision "0"))
+    (package
+      (name "sbcl-portable-condition-system")
+      (version (git-version "1.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/phoe/portable-condition-system")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "099lb9f4bavj95wik99wla5rf6fk1gdw9pvn0cqlaf0wf20csd3h"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       '(#:asd-systems '("portable-condition-system")))
+      (native-inputs
+        (list sbcl-1am))
+      (inputs
+        (list sbcl-alexandria
+              sbcl-split-sequence))
+      (home-page "https://github.com/phoe/portable-condition-system")
+      (synopsis "Portable condition system for Common Lisp")
+      (description
+"This package provides an example implementation of the Common Lisp
+condition system and library, based on the original condition system
+implementation by Kent M. Pitman.")
+      (license license:cc0))))
+
+(define-public cl-portable-condition-system
+  (sbcl-package->cl-source-package sbcl-portable-condition-system))
+
+(define-public ecl-portable-condition-system
+  (sbcl-package->ecl-package sbcl-portable-condition-system))
+
 (define-public sbcl-ospm
   (package
     (name "sbcl-ospm")
-- 
2.37.2





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

* bug#57577: [PATCH] gnu: Add cl-portable-condition-system.
  2022-09-04 13:25 [bug#57577] [PATCH] gnu: Add cl-portable-condition-system jgart via Guix-patches via
@ 2022-09-04 17:54 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-09-04 17:54 UTC (permalink / raw)
  To: jgart; +Cc: 57577-done

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


jgart via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/lisp-xyz.scm (cl-portable-condition-system): New variable.
> ---
>  gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)

Thanks jgart, I tweaked the indentation on a few lines and pushed to
master as 75febb00a57b69d41e989af0487446105fae32a5.

Chris

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

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

end of thread, other threads:[~2022-09-04 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-04 13:25 [bug#57577] [PATCH] gnu: Add cl-portable-condition-system jgart via Guix-patches via
2022-09-04 17:54 ` bug#57577: " Christopher Baines

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).