From patchwork Tue Oct 24 09:24:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: pinoaffe X-Patchwork-Id: 55268 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 25E5E27BBE9; Tue, 24 Oct 2023 10:26:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BD9B727BBE2 for ; Tue, 24 Oct 2023 10:26:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvDfR-0003gB-7r; Tue, 24 Oct 2023 05:25:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvDfJ-0003eh-U5 for guix-patches@gnu.org; Tue, 24 Oct 2023 05:25:34 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvDfJ-0005mR-Eq for guix-patches@gnu.org; Tue, 24 Oct 2023 05:25:33 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvDfm-0001qh-NZ; Tue, 24 Oct 2023 05:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65976] [PATCH v4 2/4] gnu: Add ghc-hsyslog. Resent-From: pinoaffe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Tue, 24 Oct 2023 09:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65976 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65976@debbugs.gnu.org Cc: pinoaffe , Lars-Dominik Braun X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by 65976-submit@debbugs.gnu.org id=B65976.16981395157012 (code B ref 65976); Tue, 24 Oct 2023 09:26:02 +0000 Received: (at 65976) by debbugs.gnu.org; 24 Oct 2023 09:25:15 +0000 Received: from localhost ([127.0.0.1]:53150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvDf1-0001p1-6A for submit@debbugs.gnu.org; Tue, 24 Oct 2023 05:25:15 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:55526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvDex-0001oY-RB for 65976@debbugs.gnu.org; Tue, 24 Oct 2023 05:25:12 -0400 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9a58dbd5daeso638513866b.2 for <65976@debbugs.gnu.org>; Tue, 24 Oct 2023 02:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698139476; x=1698744276; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vc8mnrENTzqMfEQdwAZoETnZdSq/LXOGKgU39tUkDtA=; b=QVy9aH47U0cYxG5+Aj/3POKB0py3D7SjDigmmE5G7IsNeDeqk5vqaG1FdVC54Rdp6W x0FYb8rMEH3/Ek9sQ9wrYmALDIcUytkiZUHHNZPrHPk4t5FWL+7y9Gh0EnTql9seMsWM xMtRhMKjmVPxsA3JVsuzCvvem797LHT2rCzoVOhhhdlxkffaOIiSin2Xzhg5SVcEz5pi oEchNw9oNEUaQg20VRs7Vr9At8tJPrTo37usiKE6gqeSHD7uu5XYlFCNMT7B6SV5Ntmx B9Ig69GbDooS8ZnSZSk3dAl1ZySknOkMfis/x3eHKJDS40fDnJ4xqh1IPCNSKJF/gUmj vMyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698139476; x=1698744276; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vc8mnrENTzqMfEQdwAZoETnZdSq/LXOGKgU39tUkDtA=; b=tAUCkq4A4tN0jA03zOHkssICof+VU18Dgs5i1Xvh4+9IejKGH1Rj4K5bHN8Hfk2N1E TxwoHX3LqDh2QUtZWGSFCRdjx8px+tTO+JbPx4KiKMt0zZyepB/fsynuvXo6JgCvzyIo movhDhJ97Gpy+P3ZjOoq/O+bP2YLYKNaUqzg9xugKeixF6Z2UFwWyAiCiqx8LE1dfGBT qXJEQMztxuq2dmJuaT7TZic0TZpP7082ESRoNKuAdp/n7lhzn0KAz7eD1Y1iHKCigZah qJBHm+tBzY5R8s0kDpmrQV7WyRveABy+PAJ2xGufjJLsaPckXHFcuXKD4SNukKDuAG6z +cuQ== X-Gm-Message-State: AOJu0Yxi9HXxE99/ud7jI2hAuuZkb8QUstO229VvY2VChvrINe6oAfQX SoHoQo2L0UDrGQ3JzgZWYUoDveCb9FI= X-Google-Smtp-Source: AGHT+IHsAvnU51oXeElkzrA1PqeBWhhZXFPIHbu9DfkAtrdZOYTYMV3yMKd9TFBhGmrkhHt7sRUbGQ== X-Received: by 2002:a17:906:ee81:b0:9be:9d5f:6967 with SMTP id wt1-20020a170906ee8100b009be9d5f6967mr9776764ejb.69.1698139476515; Tue, 24 Oct 2023 02:24:36 -0700 (PDT) Received: from localhost (h120217.upc-h.chello.nl. [62.194.120.217]) by smtp.gmail.com with ESMTPSA id t6-20020a1709067c0600b009b97521b58bsm8082510ejo.39.2023.10.24.02.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 02:24:36 -0700 (PDT) From: pinoaffe Date: Tue, 24 Oct 2023 11:24:06 +0200 Message-ID: <4557f517b38aa8072dba0ec1edd1f9d5abd0c59c.1698139370.git.pinoaffe@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <4149766749298f89bf699a9484b0ce8c5755083a.1698139370.git.pinoaffe@gmail.com> References: <4149766749298f89bf699a9484b0ce8c5755083a.1698139370.git.pinoaffe@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2023 Josselin Poiret ;;; Copyright © 2023 zamfofex +;;; Copyright © 2023 pinoaffe ;;; ;;; 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")