From patchwork Mon Sep 27 02:10:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Paul Weber X-Patchwork-Id: 33340 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 1792927BBE3; Mon, 27 Sep 2021 03:11:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D3B0A27BBE1 for ; Mon, 27 Sep 2021 03:11:49 +0100 (BST) Received: from localhost ([::1]:34766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUg7R-0004Ir-0W for patchwork@mira.cbaines.net; Sun, 26 Sep 2021 22:11:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUg6i-0003kp-P9 for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUg6i-0000YX-H8 for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUg6i-0002Bi-Ca for guix-patches@gnu.org; Sun, 26 Sep 2021 22:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH 8/8] gnu: Add ghc-network-protocol-xmpp. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 02:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50835@debbugs.gnu.org Cc: Stephen Paul Weber Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16327086488327 (code B ref 50835); Mon, 27 Sep 2021 02:11:04 +0000 Received: (at 50835) by debbugs.gnu.org; 27 Sep 2021 02:10:48 +0000 Received: from localhost ([127.0.0.1]:39204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6R-0002AA-TD for submit@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:48 -0400 Received: from singpolyma.net ([192.99.233.116]:60801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUg6I-00028h-59 for 50835@debbugs.gnu.org; Sun, 26 Sep 2021 22:10:39 -0400 Received: by singpolyma.net (Postfix, from userid 1000) id C6C004861692; Mon, 27 Sep 2021 02:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1632708637; bh=HnMHyvoj5T+hX/p0N0E0LvBpq1Fm/8ulALmqpYeJcfc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QX6Aq2neJySAyjZn9ZOwG3N3zmDQmBAqd0IB7vzKu+46LWJFl3oc0INhyCY4BEuet sBKdsqZGrySdOFZOGK6GTmZ+Zmv1eoTIB3ntjqVS/UJaIS5QZPvZrer/j3D29+TtDq wl6AhZa55Yicpbrm9RNYEhrgXbo1QHTiqoiZfRuA= From: Stephen Paul Weber Date: Sun, 26 Sep 2021 21:10:33 -0500 Message-Id: <20210927021033.17700-8-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210927021033.17700-1-singpolyma@singpolyma.net> References: <20210927021033.17700-1-singpolyma@singpolyma.net> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-network-protocol-xmpp): New variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 44ab7072c9..433f444a74 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15941,3 +15941,32 @@ than the standard TCP connection.") (synopsis "Bindings for GNU IDN") (description "Low-level bindings for using libidn in Haskell.") (license license:gpl3))) + +(define-public ghc-network-protocol-xmpp + (package + (name "ghc-network-protocol-xmpp") + (version "0.4.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/" + "network-protocol-xmpp/network-protocol-xmpp-" + version + ".tar.gz")) + (sha256 + (base32 "1qjm22qvsmfsf9kmg0ha117yidys0yp80mawvnzs8ym5a6j80x42")))) + (build-system haskell-build-system) + (inputs + `(("ghc-gnuidn" ,ghc-gnuidn) + ("ghc-gnutls" ,ghc-gnutls) + ("ghc-gsasl" ,ghc-gsasl) + ("ghc-libxml-sax" ,ghc-libxml-sax) + ("ghc-monads-tf" ,ghc-monads-tf) + ("ghc-network" ,ghc-network) + ("ghc-xml-types" ,ghc-xml-types))) + (home-page "https://git.singpolyma.net/network-protocol-xmpp") + (synopsis "Client library for the XMPP protocol") + (description "Client or component library for XMPP in Haskell. +Does only what it needs to and nothing more, no XEP wrappers, etc.") + (license license:gpl3)))