unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: pinoaffe <pinoaffe@gmail.com>
To: 65976@debbugs.gnu.org
Subject: [bug#65976] [PATCH 1/3] gnu: Add ghc-hsyslog.
Date: Thu, 14 Sep 2023 12:39:26 +0200	[thread overview]
Message-ID: <874jjxhwbi.fsf@gmail.com> (raw)


* gnu/packages/haskell-xyz.scm (ghc-hsyslog): New variable.
---
 gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index c02fd007f9..6d540aee54 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2022 jgart <jgart@dismail.de>
 ;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
 ;;; Copyright © 2023 zamfofex <zamfofex@twdb.moe>
+;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1422,6 +1423,32 @@ (define-public ghc-case-insensitive
 the resulting type will be insensitive to cases.")
     (license license:bsd-3)))
 
+(define-public ghc-hsyslog
+  (package
+    (name "ghc-hsyslog")
+    (version "5.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "hsyslog" version))
+              (sha256
+               (base32
+                "1kkypn0dd92aqv8dr112bhkr9k9r9mchnyyvy41kvhj2zg447v1y"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "hsyslog")))
+    (arguments
+     `(#:cabal-revision ("1"
+                         "0k1j46nk3z64zw4bqmvw5lgy16ih200m66rv4b6ygjqv7nglqq0b")))
+    (home-page "https://github.com/peti/hsyslog")
+    (synopsis "FFI interface to syslog(3) from POSIX.1-2008")
+    (description
+     "This package provides a Haskell interface to @code{syslog} as specified
+in POSIX.1-2008.  The entire public API lives in @code{System.Posix.Syslog}.
+There is a set of exposed modules available underneath that one, which contain
+various implementation details that may be useful to other developers who want
+to implement syslog-related functionality.  Users of @code{syslog}, however,
+do not need them.")
+    (license license:bsd-3)))
+
 (define-public ghc-cassava
   (package
     (name "ghc-cassava")

base-commit: cf5cb0875b06b5823e9de8bbd01ddd8c0b0d15a7
-- 
2.41.0





             reply	other threads:[~2023-09-14 10:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-14 10:39 pinoaffe [this message]
2023-09-14 10:42 ` [bug#65976] [PATCH 2/3] gnu: Add ghc-twain pinoaffe
2023-09-14 10:43 ` [bug#65976] [PATCH 3/3] gnu: Add mailctl pinoaffe
2023-09-25 20:21 ` [bug#65976] [PATCH v3 1/4] gnu: Add ghc-hsyslog pinoaffe
2023-09-25 20:21   ` [bug#65976] [PATCH v3 2/4] gnu: Add ghc-twain pinoaffe
2023-09-25 20:21   ` [bug#65976] [PATCH v3 3/4] gnu: Add ghc-strings pinoaffe
2023-09-25 20:21   ` [bug#65976] [PATCH v3 4/4] gnu: Add mailctl pinoaffe
2023-10-24  9:24 ` [bug#65976] [PATCH v4 1/4] gnu: Add ghc-twain pinoaffe
2023-10-24  9:24   ` [bug#65976] [PATCH v4 2/4] gnu: Add ghc-hsyslog pinoaffe
2023-10-24  9:24   ` [bug#65976] [PATCH v4 3/4] gnu: Add ghc-strings pinoaffe
2023-10-24  9:24   ` [bug#65976] [PATCH v4 4/4] gnu: Add mailctl pinoaffe

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=874jjxhwbi.fsf@gmail.com \
    --to=pinoaffe@gmail.com \
    --cc=65976@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).