From patchwork Fri Jan 14 02:45:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Paul Weber X-Patchwork-Id: 36311 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 BBB5227BBEA; Fri, 14 Jan 2022 02:47:51 +0000 (GMT) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED 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 85CF527BBE9 for ; Fri, 14 Jan 2022 02:47:51 +0000 (GMT) Received: from localhost ([::1]:43140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Cd4-0004Jd-M7 for patchwork@mira.cbaines.net; Thu, 13 Jan 2022 21:47:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8CcM-0002Nh-LN for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8CcM-0007mE-BM for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8CcM-0000Xi-9U for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH v2 12/24] gnu: Add ghc-hstatsd. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 02:47:06 +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 , rg@raghavgururajan.name Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16421283701826 (code B ref 50835); Fri, 14 Jan 2022 02:47:06 +0000 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:10 +0000 Received: from localhost ([127.0.0.1]:35027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbS-0000TI-A9 for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:10 -0500 Received: from singpolyma.net ([192.99.233.116]:46571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Po-OS for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:03 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id D13B04861713; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128359; bh=ZdMmj4ATchzx8iH99KZfaJ+C5UaWDy0I+u5ex/PmZNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N2+7bXF4GTIQfI7fYnqkI5nNETU0MDpSeohMCQUxJc4y45X//0c4P7uljcwjQ3f2w byadeIUO2w6gGo4hfDPiwlYHRQvg6vrvK/szoyR9riVVU01Oi3fxUxXk+nkPy2CI+H SRHDM1X5duG5C5TUUrjRrNTMpuQSULRYC8+5csRc= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 21:45:34 -0500 Message-Id: <20220114024546.75747-12-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-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-hstatsd): New variable. --- gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 602fdc3ac1..146d5ce2cf 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16364,3 +16364,27 @@ Does only what it needs to do and nothing more, no XEP wrappers etc.") (description "Base58 ByteString is an implementation of BASE58 transcoding.") (license license:public-domain))) + +(define-public ghc-hstatsd + (package + (name "ghc-hstatsd") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "hstatsd" version)) + (sha256 + (base32 "092q52yyb1xdji1y72bdcgvp8by2w1z9j717sl1gmh2p89cpjrs4")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-for-network-3 + (lambda _ + (substitute* "src/Network/StatsD.hs" + (("sClose") "close"))))))) + (inputs (list ghc-network)) + (home-page "https://github.com/mokus0/hstatsd") + (synopsis "Quick and dirty statsd interface") + (description "Hstatsd is a statsd interface.") + (license license:public-domain)))