From add3e4d659e3cd8d065940b35d9ade590fe6714d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 17 Apr 2021 21:39:26 +0100 Subject: [PATCH] gnu: Add fare-mop * gnu/packages/lisp-xyz.scm (sbcl-fare-mop, cl-fare-mop, ecl-fare-mop): New variables --- 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 6c9353a9e2..2269431275 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -5683,6 +5683,44 @@ basic everyday functions and macros.") (define-public ecl-fare-utils (sbcl-package->ecl-package sbcl-fare-utils)) +(define-public sbcl-fare-mop + (let ((commit "538aa94590a0354f382eddd9238934763434af30") + (revision "1")) + (package + (name "sbcl-fare-mop") + (version (git-version "1.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + ;; Other mirror, Fare is most active on GitHub. + ;; https://gitlab.common-lisp.net/frideau/fare-mop + (url "https://github.com/fare/fare-mop") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0maxs8392953fhnaa6zwnm2mdbhxjxipp4g4rvypm06ixr6pyv1c")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("close-mop" ,sbcl-closer-mop) + ("fare-utils" ,sbcl-fare-utils))) + (home-page "https://github.com/fare/fare-mop") + (synopsis "General purpose Common Lisp utilities using the Meta-Object Project") + (description + "FARE-MOP is a small collection of utilities using the MOP. It notably +contains a method SIMPLE-PRINT-OBJECT, and a mixin SIMPLE-PRINT-OBJECT-MIXIN +that allow you to trivially define PRINT-OBJECT methods that print the +interesting slots in your objects, which is great for REPL interaction and +debugging.") + (license license:unlicense)))) + +(define-public ecl-fare-mop + (sbcl-package->ecl-package sbcl-fare-mop)) + +(define-public cl-fare-mop + (sbcl-package->cl-source-package sbcl-fare-mop)) + (define-public sbcl-trivial-utf-8 (let ((commit "4d427cfbb1c452436a0efb71c3205c9da67f718f") (revision "1")) -- 2.30.2