GNU bug report logs - #53684
Add ghc-tdigest

Previous Next

Package: guix-patches;

Reported by: WinterHound <winterhound <at> yandex.com>

Date: Tue, 1 Feb 2022 09:34:02 UTC

Severity: normal

To reply to this bug, email your comments to 53684 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#53684; Package guix-patches. (Tue, 01 Feb 2022 09:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to WinterHound <winterhound <at> yandex.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 01 Feb 2022 09:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: WinterHound <winterhound <at> yandex.com>
To: guix-patches <at> gnu.org
Cc: WinterHound <winterhound <at> yandex.com>
Subject: Add ghc-tdigest
Date: Tue,  1 Feb 2022 15:02:02 +0530
---
 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 <cwebber <at> dustycloud.org>
 ;;; Copyright © 2021 Alice BRENON <alice.brenon <at> ens-lyon.fr>
 ;;; Copyright © 2021 John Kehayias <john.kehayias <at> protonmail.com>
+;;; Copyright © 2022 WinterHound <winterhound <at> yandex.com>
 ;;;
 ;;; 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





This bug report was last modified 2 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.