diff mbox

[12/15] gnu: Add ghc-hmatrix-gsl-stats.

Message ID CAKrPhPOXFnyYrVUT22a-YMvr+9gVT-Zwq4cOiY6Fg-CFjLF7kw@mail.gmail.com
State New
Headers show

Commit Message

Federico Beffa Oct. 16, 2016, 3:32 p.m. UTC

diff mbox

Patch

From 50a023bc5dcda5181f7bc77f0e414c673b249e7b Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Sun, 16 Oct 2016 16:32:03 +0200
Subject: [PATCH 12/15] gnu: Add ghc-hmatrix-gsl-stats.

* gnu/packages/haskell.scm (ghc-hmatrix-gsl-stats): New variable.
---
 gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7a6aee4..8779aea 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7699,4 +7699,30 @@  using GSL.")
 functions for Haskell.")
     (license license:gpl3+)))
 
+(define-public ghc-hmatrix-gsl-stats
+  (package
+    (name "ghc-hmatrix-gsl-stats")
+    (version "0.4.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "http://hackage.haskell.org/package/hmatrix-gsl-stats/hmatrix-gsl-stats-"
+         version ".tar.gz"))
+       (sha256
+        (base32 "0f3pzi494n4js0xiq5b38n07cnby0h9da6gmwywf8plvxm9271fl"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-vector" ,ghc-vector)
+       ("ghc-storable-complex" ,ghc-storable-complex)
+       ("ghc-hmatrix" ,ghc-hmatrix)
+       ("gsl" ,gsl)))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (home-page "http://code.haskell.org/hmatrix-gsl-stats")
+    (synopsis "GSL Statistics interface for Haskell")
+    (description "This Haskell library provides a purely functional
+interface for statistics based on hmatrix and GSL.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.7.4