From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gG9rExcB+WHaOAEAgWs5BA (envelope-from ) for ; Tue, 01 Feb 2022 10:44:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ePzAEBcB+WHB0QAA9RJhRA (envelope-from ) for ; Tue, 01 Feb 2022 10:44:55 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D40B83ECE7 for ; Tue, 1 Feb 2022 10:44:54 +0100 (CET) Received: from localhost ([::1]:59638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEpiX-00046o-Or for larch@yhetil.org; Tue, 01 Feb 2022 04:44:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEpY3-0000vn-5w for guix-patches@gnu.org; Tue, 01 Feb 2022 04:34:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEpY2-0005Ka-QJ for guix-patches@gnu.org; Tue, 01 Feb 2022 04:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEpY2-0008ND-P2 for guix-patches@gnu.org; Tue, 01 Feb 2022 04:34:02 -0500 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= 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-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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643708694; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MqxtDIPtm8+qfY55M/uK+zu228VPzAygTvYUq2Vk9ys=; b=IxXtWSW+Y2Mb+Cl+hewyXozZanTwCbKFi3aCxURusiVfad0AZywC2ZtCOzsqbY4wg8kGqH jz6gDcpHBj2CXpSgm5lvzY3orlhlqoaSR1A0jH9LmQk0uSKLTXqum2ZnQ67wpHs9nR24xM rPqb4nDPI8roLpSiUpwkfC8oJ50GFIzRIPva/RBXYXGS72jzOMO0qSLQJNNRoeI9vkzBS5 WKreMWTdKpC54M755dk5posQPIbJUs/4IN0qeH/DPoHVX0FzCX6S5acrFfW01omciW2JS+ /luQ8wjsmWus5aPT4oMq60FD++5PYBg/hOJDLmByswIw8M2eztINClJfaNq3JQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643708694; a=rsa-sha256; cv=none; b=JttPzQTk5pE32j9jUxkzfWvxWQENpWHbFDodBX4PJbsElpqqNO/M7a88TqkbPjZRgQi9iS da2lf/ylKJFMGWiG7OLAcjOC+7e4ZvruVmfFGeTgrrRJ0t4jz5rz2okB+u57irFB56vKm9 MbvoMNlDrZhAgCU84SbkHDFmrn5Tmshfgmnewto+TGtYt6hqEW9vCh9gtnjs6OzwKUvZYX nAlwLKzFcfi0qMAI+6588gFSeHe8zH05H0QJIcWLXOVGxhEVFH11xNEi43UN/JNYQ36QsQ wpArb9dbiCSDCCJTmv+sLZYb5haQD4jLpW5/fE5/L8QHMRkV3bX+LZuO7Rl9Sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b="OFZsCY/4"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b="OFZsCY/4"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D40B83ECE7 X-Spam-Score: -1.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: vYTPEwxORiLn --- 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