[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28884] [PATCH 14/38] gnu: Add ghc-statistics.
From: |
rsiddharth |
Subject: |
[bug#28884] [PATCH 14/38] gnu: Add ghc-statistics. |
Date: |
Wed, 18 Oct 2017 03:07:34 +0000 |
* gnu/packages/haskell.scm (ghc-statistics): New variable.
---
gnu/packages/haskell.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 52ac4f909..c7d409bc5 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9432,4 +9432,63 @@ implementation provides a work-stealing scheduler and
supports forking tasks
that are much lighter weight than IO-threads.")
(license license:bsd-3)))
+(define-public ghc-statistics
+ (package
+ (name "ghc-statistics")
+ (version "0.14.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "statistics-" version "/"
+ "statistics-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-aeson" ,ghc-aeson)
+ ("ghc-base-orphans" ,ghc-base-orphans)
+ ("ghc-erf" ,ghc-erf)
+ ("ghc-math-functions" ,ghc-math-functions)
+ ("ghc-monad-par" ,ghc-monad-par)
+ ("ghc-mwc-random" ,ghc-mwc-random)
+ ("ghc-primitive" ,ghc-primitive)
+ ("ghc-vector" ,ghc-vector)
+ ("ghc-vector-algorithms" ,ghc-vector-algorithms)
+ ("ghc-vector-th-unbox" ,ghc-vector-th-unbox)
+ ("ghc-vector-binary-instances" ,ghc-vector-binary-instances)))
+ (native-inputs
+ `(("ghc-hunit" ,ghc-hunit)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-ieee754", ghc-ieee754)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
+ (arguments
+ `(#:tests? #f)) ; FIXME: Test-Suite `spec` fails.
+ (home-page "https://github.com/bos/mwc-random")
+ (synopsis "Haskell library of statistical types, data, and functions")
+ (description "This library provides a number of common functions
+and types useful in statistics. We focus on high performance, numerical
+robustness, and use of good algorithms. Where possible, we provide references
+to the statistical literature.
+
+The library's facilities can be divided into four broad categories:
+
address@hidden
address@hidden Working with widely used discrete and continuous probability
+distributions. (There are dozens of exotic distributions in use; we focus
+on the most common.)
+
address@hidden Computing with sample data: quantile estimation, kernel density
+estimation, histograms, bootstrap methods, significance testing,
+and regression and autocorrelation analysis.
+
address@hidden Random variate generation under several different distributions.
+
address@hidden Common statistical tests for significant differences between
samples.
address@hidden itemize")
+ (license license:bsd-2)))
+
;;; haskell.scm ends here
--
2.15.0.rc0
- [bug#28884] [PATCH 07/38] gnu: Add ghc-language-haskell-extract., (continued)
- [bug#28884] [PATCH 05/38] gnu: Add ghc-mwc-random., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 06/38] gnu: Add ghc-vector-algorithms., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 08/38] gnu: Add ghc-test-framework-th., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 11/38] gnu: Add ghc-abstract-deque., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 12/38] gnu: Add ghc-monad-par., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 10/38] gnu: Add ghc-monad-par-extras., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 13/38] gnu: ghc-base-orphans: Update to 0.6., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 15/38] gnu: Add ghc-chunked-data., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 14/38] gnu: Add ghc-statistics.,
rsiddharth <=
- [bug#28884] [PATCH 21/38] gnu: Add ghc-entropy., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 19/38] gnu: Add ghc-monadrandom., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 17/38] gnu: Add ghc-tuple-th., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 18/38] gnu: Add ghc-contravariant-extras., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 16/38] gnu: Add ghc-base-prelude., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 20/38] gnu: Add ghc-either., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 23/38] gnu: Add ghc-crypto-api-tests., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 22/38] gnu: Add ghc-crypto-api., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 24/38] gnu: Add ghc-pretty-hex., rsiddharth, 2017/10/17
- [bug#28884] [PATCH 25/38] gnu: Add ghc-puremd5, rsiddharth, 2017/10/17