* [bug#59396] [PATCH] gnu: Add cl-simplified-types.
@ 2022-11-20 2:14 Paul A. Patience
2022-11-20 13:48 ` bug#59396: " Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: Paul A. Patience @ 2022-11-20 2:14 UTC (permalink / raw)
To: 59396; +Cc: Paul A. Patience
* gnu/packages/lisp-xyz.scm (sbcl-simplified-types, cl-simplified-types,
ecl-simplified-types): New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 59cffce248..f4a4aad1e2 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -6972,6 +6972,46 @@ (define-public ecl-type-i
;; The tests get stuck indefinitly
'(#:tests? #f))))
+(define-public sbcl-simplified-types
+ (let ((commit "8fd0727a70a9de76289ac62c1567b8d278e7434e")
+ (revision "0"))
+ (package
+ (name "sbcl-simplified-types")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/marcoheisig/simplified-types")
+ (commit commit)))
+ (file-name (git-file-name "cl-simplified-types" version))
+ (sha256
+ (base32 "1hdwmn5lz717aj6qdqmfmr3cbjl8l3giwn0fb5ca9pj83cx7fg8y"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-alexandria
+ sbcl-introspect-environment
+ sbcl-trivia))
+ (home-page "https://github.com/marcoheisig/simplified-types")
+ (synopsis "Simplify Common Lisp type specifiers")
+ (description
+ "Simplified-Types is a library that provides functions for simplifying
+Common Lisp type specifiers. The API consists of two functions:
+
+@itemize
+@item @code{simplify-type} takes a type specifier and, optionally, an
+environment, and returns the corresponding simplified type.
+@item @code{simplified-type-of} takes an object and returns the simplified
+type of that object.
+@end itemize")
+ (license license:expat))))
+
+(define-public cl-simplified-types
+ (sbcl-package->cl-source-package sbcl-simplified-types))
+
+(define-public ecl-simplified-types
+ (sbcl-package->ecl-package sbcl-simplified-types))
+
(define-public sbcl-typo
(let ((commit "0e883490f81edf2a1be4e5b101d1caec78d7853b")
(revision "0"))
--
2.38.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#59396: [PATCH] gnu: Add cl-simplified-types.
2022-11-20 2:14 [bug#59396] [PATCH] gnu: Add cl-simplified-types Paul A. Patience
@ 2022-11-20 13:48 ` Guillaume Le Vaillant
0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-20 13:48 UTC (permalink / raw)
To: Paul A. Patience; +Cc: 59396-done
[-- Attachment #1: Type: text/plain, Size: 66 bytes --]
Patch pushed as c8f406056fb0f371e8cc15d92938528d9948e767.
Thanks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-20 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-20 2:14 [bug#59396] [PATCH] gnu: Add cl-simplified-types Paul A. Patience
2022-11-20 13:48 ` bug#59396: " Guillaume Le Vaillant
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).