aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2021-10-13 10:29:15 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-10-13 10:29:44 +0200
commit7b8ac3e9a3b7d132fe9d564ebd8db3b89766e3b0 (patch)
treece3c012510c534b7aec5adbffcd8fed3746b87de /gnu
parentf0c8cdb56519371432ed8b62c8eff446d8c5be6f (diff)
downloadguix-7b8ac3e9a3b7d132fe9d564ebd8db3b89766e3b0.tar.gz
guix-7b8ac3e9a3b7d132fe9d564ebd8db3b89766e3b0.zip
gnu: Add cl-generic-comparability.
* gnu/packages/lisp-xyz.scm (cl-generic-comparability, ecl-generic-comparability, sbcl-generic-comparability): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 48027095d0..baa7dc2587 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18950,3 +18950,39 @@ previous commands.")
(define-public ecl-cl-readline
(sbcl-package->ecl-package sbcl-cl-readline))
+
+(define-public sbcl-generic-comparability
+ (let ((commit "53fc2846319a6eb46b36581e203e1f1542a8acff")
+ (revision "1"))
+ (package
+ (name "sbcl-generic-comparability")
+ (version (git-version "1.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pnathan/generic-comparability")
+ (commit commit)))
+ (file-name (git-file-name "generic-comparability" version))
+ (sha256
+ (base32 "01ma0cwirxarwwmdwflnh8kmysmr2smh5kyvzhb2074ljxg8yq2p"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)))
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (home-page "https://github.com/pnathan/generic-comparability")
+ (synopsis "Implementation of cdr-8")
+ (description
+ "GENERIC-COMPARABILITY is an implementation of CDR-8 (Generic Equality
+and Comparison for Common Lisp). CDR-8 provides an interface for the EQUALS
+function, which is defined as a general equality predicate, as well as a set of
+ordering (COMPARE) functions for comparison. The semantics are described in
+the CDR-8 standard.")
+ (license license:llgpl))))
+
+(define-public cl-generic-comparability
+ (sbcl-package->cl-source-package sbcl-generic-comparability))
+
+(define-public ecl-generic-comparability
+ (sbcl-package->ecl-package sbcl-generic-comparability))