* [bug#53919] [PATCH] gnu: Add cl-hamcrest.
@ 2022-02-10 16:23 jgart via Guix-patches via
2022-02-11 14:20 ` bug#53919: " Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2022-02-10 16:23 UTC (permalink / raw)
To: 53919; +Cc: jgart
* gnu/packages/lisp-xyz.scm (cl-hamcrest): New variable.
---
gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e40a215158..2493253a3b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20454,6 +20454,49 @@ (define-public cl-css-lite
(define-public ecl-css-lite
(sbcl-package->ecl-package sbcl-css-lite))
+(define-public sbcl-cl-hamcrest
+ (let ((commit "a54553e59a70dc5a539b683e79bfcdb0e8bae5c8")
+ (revision "0"))
+ (package
+ (name "sbcl-cl-hamcrest")
+ (version "0.4.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/40ants/cl-hamcrest")
+ (commit commit)))
+ (sha256
+ (base32 "181nnb2fjbsdqjqdvwg2x9n1jjalkfzszwdgqcap4py2q63q1kxj"))
+ (file-name (git-file-name name commit))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ `(#:asd-files '("hamcrest.asd"
+ "hamcrest-test.asd")
+ #:asd-systems '("hamcrest"
+ "hamcrest-test")))
+ (inputs
+ (list sbcl-iterate
+ sbcl-split-sequence
+ sbcl-cl-ppcre
+ sbcl-alexandria
+ sbcl-rove
+ sbcl-prove))
+ (home-page "http://40ants.com/cl-hamcrest/")
+ (synopsis "Make CL unittests more readable")
+ (description
+"@code{sbcl-cl-hamcrest} is an implementation of the Hamcrest idea in Common
+Lisp. It simplifes unittests and make them more readable. Hamcrest uses
+idea of pattern-matching, to construct matchers from different pieces
+and to apply them to the data.")
+ (license license:bsd-3))))
+
+(define-public cl-hamcrest
+ (sbcl-package->cl-source-package sbcl-cl-hamcrest))
+
+(define-public ecl-cl-hamcrest
+ (sbcl-package->ecl-package sbcl-cl-hamcrest))
+
(define-public sbcl-nhooks
(package
(name "sbcl-nhooks")
--
2.35.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#53919: [PATCH] gnu: Add cl-hamcrest.
2022-02-10 16:23 [bug#53919] [PATCH] gnu: Add cl-hamcrest jgart via Guix-patches via
@ 2022-02-11 14:20 ` Guillaume Le Vaillant
0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2022-02-11 14:20 UTC (permalink / raw)
To: jgart; +Cc: 53919-done
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
Given that this package is about testing, I moved it to
"lisp-check.scm". I also simplified the package definition a little.
Pushed as 4ba7aab96503aa8e4b450fca1e68ca79eef3a534.
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-02-11 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-10 16:23 [bug#53919] [PATCH] gnu: Add cl-hamcrest jgart via Guix-patches via
2022-02-11 14:20 ` bug#53919: " 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).