all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 53919@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#53919] [PATCH] gnu: Add cl-hamcrest.
Date: Thu, 10 Feb 2022 11:23:20 -0500	[thread overview]
Message-ID: <20220210162320.22562-1-jgart@dismail.de> (raw)

* 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	other threads:[~2022-02-10 18:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 16:23 jgart via Guix-patches via [this message]
2022-02-11 14:20 ` bug#53919: [PATCH] gnu: Add cl-hamcrest Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220210162320.22562-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=53919@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.