summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2021-01-26 23:16:20 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2021-01-27 10:27:04 +0100
commit82f4d5d2cd8a7b78d3bf4f59a462df873a997b66 (patch)
tree65bb1abfb4c92228678fd6d7e06d500c0b4fae3b /gnu
parentf048c4f38b24bbaff4d098e8c8cb81cb11041d9c (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 62af10cc7c..763d6fe50f 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