unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: JesseJohnGildersleve <JesseJohnGildersleve@protonmail.com>
To: "35221@debbugs.gnu.org" <35221@debbugs.gnu.org>
Subject: [bug#35221] [PATCH 2/2] Re: Add log4cl packages
Date: Wed, 10 Apr 2019 19:02:09 +0000	[thread overview]
Message-ID: <z8VOz4-ubyVB4A4eEQuFHBexdcE78m1gX2R9qdhj1WpyW0BEoKLAOn0Jx4C970fS9lv0VIxchu29EPNY0Vhg_s2oYaXSt-St8sXhnXkQMGk=@protonmail.com> (raw)
In-Reply-To: <ZCA-3cPaEbTKs2o-hq9NKlZTx_Bz3uqS_IZS2NNKhQpgvq1HGPOGyfqn__bs6eMe-gzApUVnHnd5W_oWXv8lmr2q_64Q7_LKnUvf8Zn2qcE=@protonmail.com>

Sorry for the mistake, that was an older version of the patch before I linted it and cleaned it up, here is the final version:


From 2ac9d70a78cc48dc4f1011aed09968d5538d8f42 Mon Sep 17 00:00:00 2001
From: frozenpigs <purpjuice@protonmail.com>
Date: Wed, 10 Apr 2019 20:01:21 +0100
Subject: [PATCH] gnu: Add sbcl-log4cl, cl-log4cl and ecl-log4cl

---
 gnu/packages/lisp.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index e0f3e0ae40..94ddda3bde 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -5239,3 +5239,36 @@ Python's WSGI and Ruby's Rack.")

 (define-public cl-clack
   (sbcl-package->cl-source-package sbcl-clack))
+
+(define-public sbcl-log4cl
+  (let ((commit "611e094458504b938d49de904eab141285328c7c")
+        (revision "1"))
+    (package
+      (name "sbcl-log4cl")
+      (build-system asdf-build-system/sbcl)
+      (version "1.1.2")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/sharplispers/log4cl")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "08jly0s0g26b56hhpfizxsb4j0yvbh946sd205gr42dkzv8l7dsc"))))
+      ;; FIXME: tests require stefil, sbcl-hu.dwim.stefil wont work
+      (arguments
+       `(#:tests? #f))
+      (inputs `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
+      (synopsis "Common Lisp logging framework, modeled after Log4J")
+      (home-page "https://github.com/7max/log4cl")
+      (description "This is a common lisp logging framework that can log at
+various levels and mix text with expressions.")
+      (license license:asl2.0))))
+
+(define-public cl-log4cl
+  (sbcl-package->cl-source-package sbcl-log4cl))
+
+(define-public ecl-log4cl
+  (sbcl-package->ecl-package sbcl-log4cl))
--
2.21.0




‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, April 10, 2019 7:30 PM, JesseJohnGildersleve <JesseJohnGildersleve@protonmail.com> wrote:

> Was meant to be [PATCH 2/2]
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Wednesday, April 10, 2019 7:29 PM, JesseJohnGildersleve JesseJohnGildersleve@protonmail.com wrote:
>
> > From 5ea316ec3873737bd1a99591d4127dc48d8b471a Mon Sep 17 00:00:00 2001
> > From: frozenpigs purpjuice@protonmail.com
> > Date: Wed, 10 Apr 2019 19:25:50 +0100
> > Subject: [PATCH] gnu: Add sbcl-log4cl, cl-log4cl and ecl-log4cl
> >
> > gnu/packages/lisp.scm | 28 ++++++++++++++++++++++++++++
> > 1 file changed, 28 insertions(+)
> > diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
> > index e0f3e0ae40..2a51a98240 100644
> > --- a/gnu/packages/lisp.scm
> > +++ b/gnu/packages/lisp.scm
> > @@ -5239,3 +5239,31 @@ Python's WSGI and Ruby's Rack.")
> > (define-public cl-clack
> > (sbcl-package->cl-source-package sbcl-clack))
> >
> > -
> >
> > +(define-public sbcl-log4cl
> >
> > -   (package
> >
> > -   (name "sbcl-log4cl")
> >
> > -   (build-system asdf-build-system/sbcl)
> >
> > -   (source
> >
> > -         (origin
> >
> >
> > -           (method git-fetch)
> >
> >
> > -           (uri (git-reference
> >
> >
> > -                          (url "https://github.com/sharplispers/log4cl")
> >
> >
> > -                          (commit "611e094458504b938d49de904eab141285328c7c")))
> >
> >
> > -           (sha256
> >
> >
> > -            (base32
> >
> >
> > -             "08jly0s0g26b56hhpfizxsb4j0yvbh946sd205gr42dkzv8l7dsc"))))
> >
> >
> > -   (arguments
> >
> > -         `(#:tests? #f))
> >
> >
> > -   (inputs `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
> >
> > -   (version "1.1.2")
> >
> > -   (synopsis "Common Lisp logging framework, modeled after Log4J")
> >
> > -   (home-page "https://github.com/7max/log4cl")
> >
> > -   (description "Common Lisp logging framework, modeled after Log4J")
> >
> > -   (license license:expat)))
> >
> > -
> >
> > +(define-public cl-log4cl
> >
> > -   (sbcl-package->cl-source-package sbcl-log4cl))
> >
> > -
> >
> > +(define-public ecl-log4cl
> >
> > -   (sbcl-package->ecl-package sbcl-log4cl))
> >
> > --
> > 2.21.0

  reply	other threads:[~2019-04-10 19:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10 18:27 [bug#35221] [PATCH 1/2] Update bordeaux-threads update to 0.8.6 and add log4cl JesseJohnGildersleve
2019-04-10 18:29 ` [bug#35221] Add log4cl packages JesseJohnGildersleve
2019-04-10 18:30 ` [bug#35221] [PATCH 2/2] " JesseJohnGildersleve
2019-04-10 19:02   ` JesseJohnGildersleve [this message]
2019-04-16 17:22     ` bug#35221: " Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='z8VOz4-ubyVB4A4eEQuFHBexdcE78m1gX2R9qdhj1WpyW0BEoKLAOn0Jx4C970fS9lv0VIxchu29EPNY0Vhg_s2oYaXSt-St8sXhnXkQMGk=@protonmail.com' \
    --to=jessejohngildersleve@protonmail.com \
    --cc=35221@debbugs.gnu.org \
    /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 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).