all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#56081] [PATCH] gnu: Add cl-sandalphon.compiler-macro.
@ 2022-06-19  7:35 Paul A. Patience
  2022-06-20 12:04 ` bug#56081: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Paul A. Patience @ 2022-06-19  7:35 UTC (permalink / raw)
  To: 56081; +Cc: Paul A. Patience

* gnu/packages/lisp-xyz.scm (sbcl-sandalphon.compiler-macro,
  cl-sandalphon.compiler-macro, ecl-sandalphon.compiler-macro): New
  variables.
---
The package is named cl-sandalphon.compiler-macro because that is
the CL package's name.
The ASD system is just compiler-macro, though, which seems confusing
to me.

 gnu/packages/lisp-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 6e4d3c20bc..728502944d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -6241,6 +6241,44 @@ (define-public cl-introspect-environment
 (define-public ecl-introspect-environment
   (sbcl-package->ecl-package sbcl-introspect-environment))

+(define-public sbcl-sandalphon.compiler-macro
+  (let ((commit "7796bda64aec5af3ca175170ad3565167868789c")
+        (revision "0"))
+    (package
+      (name "sbcl-sandalphon.compiler-macro")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Bike/compiler-macro")
+               (commit commit)))
+         (file-name (git-file-name "cl-sandalphon.compiler-macro" version))
+         (sha256
+          (base32 "13sswps7s0qy6939mvj8q57hkx0qkga6rl6xjhjr7pk7by0xdsjq"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       '(#:asd-systems '("compiler-macro")))
+      (native-inputs
+       (list sbcl-fiveam))
+      (inputs
+       (list sbcl-introspect-environment))
+      (home-page "https://github.com/Bike/compiler-macro")
+      (synopsis "Common Lisp compiler macro utilities")
+      (description "This library is a collection of utilities for writing
+compiler macros.  It is intended to make it possible to make compiler macros
+much more useful, by granting them access to lexical type information, making
+the protocol for declining expansion more convenient, and establishing some
+information for signaling optimization advice to programmers.  Some utilities
+to support this, especially for reasoning on types, are also included.")
+      (license license:cc0))))
+
+(define-public cl-sandalphon.compiler-macro
+  (sbcl-package->cl-source-package sbcl-sandalphon.compiler-macro))
+
+(define-public ecl-sandalphon.compiler-macro
+  (sbcl-package->ecl-package sbcl-sandalphon.compiler-macro))
+
 (define-public sbcl-type-i
   (let ((commit "d34440ab4ebf5a46a58deccb35950b15670e3667")
         (revision "2"))
--
2.36.1






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

end of thread, other threads:[~2022-06-20 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-19  7:35 [bug#56081] [PATCH] gnu: Add cl-sandalphon.compiler-macro Paul A. Patience
2022-06-20 12:04 ` bug#56081: " 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.