GNU bug report logs - #53919
[PATCH] gnu: Add cl-hamcrest.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Thu, 10 Feb 2022 16:25:01 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53919 in the body.
You can then email your comments to 53919 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#53919; Package guix-patches. (Thu, 10 Feb 2022 16:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 10 Feb 2022 16:25:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add cl-hamcrest.
Date: Thu, 10 Feb 2022 11:23:20 -0500
* 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





Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Fri, 11 Feb 2022 14:23:02 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Fri, 11 Feb 2022 14:23:02 GMT) Full text and rfc822 format available.

Message #10 received at 53919-done <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: jgart <jgart <at> dismail.de>
Cc: 53919-done <at> debbugs.gnu.org
Subject: Re: [bug#53919] [PATCH] gnu: Add cl-hamcrest.
Date: Fri, 11 Feb 2022 14:20:31 +0000
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 12 Mar 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.