[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: Add cl-modularize-hooks.
From: |
guix-commits |
Subject: |
01/03: gnu: Add cl-modularize-hooks. |
Date: |
Wed, 27 Jan 2021 04:28:03 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit 82f4d5d2cd8a7b78d3bf4f59a462df873a997b66
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Jan 26 23:16:20 2021 +0000
gnu: Add cl-modularize-hooks.
* gnu/packages/lisp-xyz.scm (cl-modularize-hooks, ecl-modularize-hooks,
sbcl-modularize-hooks): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 62af10c..763d6fe 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9787,6 +9787,40 @@ tie modules together in functionality, hook into each
other and so on.")
(define-public cl-modularize
(sbcl-package->cl-source-package sbcl-modularize))
+(define-public sbcl-modularize-hooks
+ (let ((commit "e0348ed3ffd59a9ec31ca4ab28289e748bfbf96a")
+ (revision "1"))
+ (package
+ (name "sbcl-modularize-hooks")
+ (version (git-version "1.0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Shinmera/modularize-hooks")
+ (commit commit)))
+ (file-name (git-file-name "modularize-hooks" version))
+ (sha256
+ (base32 "12kjvin8hxidwkzfb7inqv5b6g5qzcssnj9wc497v2ixc56fqdz7"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("closer-mop" ,sbcl-closer-mop)
+ ("lambda-fiddle" ,sbcl-lambda-fiddle)
+ ("modularize" ,sbcl-modularize)
+ ("trivial-arguments" ,sbcl-trivial-arguments)))
+ (home-page "https://shinmera.github.io/modularize-hooks/")
+ (synopsis "Programmatical interfaces extension for Modularize")
+ (description
+ "This is a simple extension to @code{MODULARIZE} that allows modules to
+define and trigger hooks, which other modules can hook on to.")
+ (license license:zlib))))
+
+(define-public ecl-modularize-hooks
+ (sbcl-package->ecl-package sbcl-modularize-hooks))
+
+(define-public cl-modularize-hooks
+ (sbcl-package->cl-source-package sbcl-modularize-hooks))
+
(define-public sbcl-moptilities
(let ((commit "a436f16b357c96b82397ec018ea469574c10dd41"))
(package