diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2022-06-30 17:03:40 +0200 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2022-06-30 20:01:36 +0200 |
commit | 9770c7c98c5863858d265d923188dc52b9a79008 (patch) | |
tree | b38477628efed38130caef64c5f1042d02750794 | |
parent | a034032066fcae595d8d0b1880e0a4107713e9e6 (diff) | |
download | guix-9770c7c98c5863858d265d923188dc52b9a79008.tar guix-9770c7c98c5863858d265d923188dc52b9a79008.tar.gz |
gnu: Add dynamic-mixins.
* gnu/packages/lisp-xyz.scm (cl-dynamic-mixins, ecl-dynamic-mixins,
sbcl-dynamic-mixins): New variables.
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index f03b415529..ef13f8ffa3 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -21825,3 +21825,34 @@ replacement, which is called @code{*let}).") (define-public ecl-defstar (sbcl-package->ecl-package sbcl-defstar)) + +(define-public sbcl-dynamic-mixins + (let ((commit "7cc09bee7d68527f37406671fabe910e8235b746")) + (package + (name "sbcl-dynamic-mixins") + (version (git-version "0.0" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rpav/dynamic-mixins") + (commit commit))) + (file-name (git-file-name "cl-dynamic-mixins" version)) + (sha256 + (base32 "00g3s509ysh2jp1qwsgb5bwl6qvhzcljwjz3z4mspbcak51484zj")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria + sbcl-closer-mop)) + (home-page "https://github.com/rpav/dynamic-mixins") + (synopsis "Simple, dynamic class combination for CLOS") + (description + "Dynamic-mixins is for simple, dynamic class combination; it allows +objects to be mixed and updated without manually defining many permutations.") + (license license:bsd-2)))) + +(define-public cl-dynamic-mixins + (sbcl-package->cl-source-package sbcl-dynamic-mixins)) + +(define-public ecl-dynamic-mixins + (sbcl-package->ecl-package sbcl-dynamic-mixins)) |