From unknown Fri Jun 13 11:41:21 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#53684] Add ghc-tdigest Resent-From: WinterHound Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Feb 2022 09:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53684 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 53684@debbugs.gnu.org Cc: WinterHound X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164370800932031 (code B ref -1); Tue, 01 Feb 2022 09:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 09:33:29 +0000 Received: from localhost ([127.0.0.1]:41712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEpXP-0008KB-O0 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 04:33:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:43416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEpXO-0008Jv-6W for submit@debbugs.gnu.org; Tue, 01 Feb 2022 04:33:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEpXN-00084D-QX for guix-patches@gnu.org; Tue, 01 Feb 2022 04:33:21 -0500 Received: from forward106j.mail.yandex.net ([5.45.198.249]:38750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEpXK-0005G0-Pj for guix-patches@gnu.org; Tue, 01 Feb 2022 04:33:21 -0500 Received: from myt5-6a3cd3b97bb1.qloud-c.yandex.net (myt5-6a3cd3b97bb1.qloud-c.yandex.net [IPv6:2a02:6b8:c12:278c:0:640:6a3c:d3b9]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 2B101136B676 for ; Tue, 1 Feb 2022 12:33:10 +0300 (MSK) Received: from myt6-efff10c3476a.qloud-c.yandex.net (myt6-efff10c3476a.qloud-c.yandex.net [2a02:6b8:c12:13a3:0:640:efff:10c3]) by myt5-6a3cd3b97bb1.qloud-c.yandex.net (mxback/Yandex) with ESMTP id gTHKjoiMqC-X9cCU1h7; Tue, 01 Feb 2022 12:33:10 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1643707990; bh=MqxtDIPtm8+qfY55M/uK+zu228VPzAygTvYUq2Vk9ys=; h=Date:Subject:To:From:Message-Id:Cc; b=OFZsCY/4q4t6RW1fw2PrHAqY/d77Ckt9r9KZoNoxpEwuCrA4VQ3H0eie//apCSl+/ gPbBebF/M3O5wFigW+3oynoK7Egxm8NAXQonANUkwv0VN+0Etkts5BW/zvIdasj56z iJK4eiJ+2ltW7gjLZBevLzIuw17Xsxz918/Ct06M= Authentication-Results: myt5-6a3cd3b97bb1.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Received: by myt6-efff10c3476a.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id mPmKymJZ8Y-X7IW45Wv; Tue, 01 Feb 2022 12:33:08 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) X-Yandex-Fwd: 2 From: WinterHound Date: Tue, 1 Feb 2022 15:02:02 +0530 Message-Id: <20220201093211.6720-1-winterhound@yandex.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.45.198.249; envelope-from=winterhound@yandex.com; helo=forward106j.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --- 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 a42baebde6..c778340473 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2020 Christine Lemmer-Webber ;;; Copyright © 2021 Alice BRENON ;;; Copyright © 2021 John Kehayias +;;; Copyright © 2022 WinterHound ;;; ;;; This file is part of GNU Guix. ;;; @@ -16084,3 +16085,31 @@ (define-public ghc-singleton-bool "This package provides Type-level booleans.") (license license:bsd-3))) +(define-public ghc-tdigest + (package + (name "ghc-tdigest") + (version "0.2.1.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "tdigest" version)) + (sha256 + (base32 "1dvkf7cs8dcr13wza5iyq2qgvz75r33mzgfmhdihw62xzxsqb6d3")))) + (build-system haskell-build-system) + (inputs + (list ghc-base-compat + ghc-reducers + ghc-semigroupoids + ghc-vector + ghc-vector-algorithms)) + (native-inputs (list ghc-semigroups ghc-tasty ghc-tasty-quickcheck)) + (arguments + `(#:cabal-revision + ("2" "0hcsjdd8km8dhydg4npc6mw6yy6bhv4f21zvm8is8h0ci4057asy"))) + (home-page "https://github.com/phadej/haskell-tdigest#readme") + (synopsis "On-line accumulation of rank-based statistics") + (description + "This package provides a new data structure for accurate on +line accumulation of rank-based statistics such as quantiles and +trimmed means.") + (license license:bsd-3))) -- 2.34.0