[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/17: gnu: Add ghc-hmatrix.
From: |
Federico Beffa |
Subject: |
11/17: gnu: Add ghc-hmatrix. |
Date: |
Wed, 19 Oct 2016 06:45:16 +0000 (UTC) |
beffa pushed a commit to branch master
in repository guix.
commit 95595618b116774ac5e4ba86c0e02ea0b46dbed3
Author: Federico Beffa <address@hidden>
Date: Sun Oct 16 16:25:26 2016 +0200
gnu: Add ghc-hmatrix.
* gnu/packages/haskell.scm (ghc-hmatrix): New variable.
---
gnu/packages/haskell.scm | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 50b09ef..cca35d9 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015 Federico Beffa <address@hidden>
+;;; Copyright © 2015, 2016 Federico Beffa <address@hidden>
;;; Copyright © 2015 Siniša Biđin <address@hidden>
;;; Copyright © 2015 Paul van der Walt <address@hidden>
;;; Copyright © 2015 Eric Bavier <address@hidden>
@@ -44,6 +44,7 @@
#:use-module (gnu packages libffi)
#:use-module (gnu packages libedit)
#:use-module (gnu packages lua)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages python)
@@ -7619,4 +7620,34 @@ Storable instance for Complex which is binary compatible
with C99, C++
and Fortran complex data types.")
(license license:bsd-3)))
+(define-public ghc-hmatrix
+ (package
+ (name "ghc-hmatrix")
+ (version "0.17.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/hmatrix/hmatrix-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1fgsrh2y9y971pzrd3767rg97bjr1ghpdvwmn1nn65s90rc9bv98"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-random" ,ghc-random)
+ ("ghc-split" ,ghc-split)
+ ("ghc-storable-complex" ,ghc-storable-complex)
+ ("ghc-vector" ,ghc-vector)
+ ;;("openblas" ,openblas)
+ ("lapack" ,lapack)))
+ ;; Guix's OpenBLAS is built with the flag "NO_LAPACK=1" which
+ ;; disables inclusion of the LAPACK functions.
+ ;; (arguments `(#:configure-flags '("--flags=openblas")))
+ (home-page "https://github.com/albertoruiz/hmatrix")
+ (synopsis "Haskell numeric linear algebra library")
+ (description "The HMatrix package provices a Haskell library for
+dealing with linear systems, matrix decompositions, and other
+numerical computations based on BLAS and LAPACK.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
- 07/17: gnu: Add chez-matchable, (continued)
- 07/17: gnu: Add chez-matchable, Federico Beffa, 2016/10/19
- 05/17: gnu: Add chez-web, Federico Beffa, 2016/10/19
- 06/17: gnu: Add chez-sockets, Federico Beffa, 2016/10/19
- 08/17: gnu: Add chez-irregex., Federico Beffa, 2016/10/19
- 09/17: gnu: Add chez-fmt., Federico Beffa, 2016/10/19
- 14/17: gnu: Add ghc-hmatrix-gsl-stats., Federico Beffa, 2016/10/19
- 16/17: gnu: Add ghc-hashtables., Federico Beffa, 2016/10/19
- 12/17: gnu: Add ghc-hmatrix-gsl., Federico Beffa, 2016/10/19
- 15/17: gnu: Add ghc-easyplot., Federico Beffa, 2016/10/19
- 17/17: gnu: Add GHC 8.0.1., Federico Beffa, 2016/10/19
- 11/17: gnu: Add ghc-hmatrix.,
Federico Beffa <=
- 03/17: gnu: chez-scheme: Move to new module., Federico Beffa, 2016/10/19
- 10/17: gnu: Add ghc-storable-complex., Federico Beffa, 2016/10/19
- 13/17: gnu: Add ghc-hmatrix-special., Federico Beffa, 2016/10/19