From: Marius Bakke <mbakke@fastmail.com>
To: Federico Beffa <beffa@ieee.org>, Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH 09/15] gnu: Add ghc-hmatrix.
Date: Mon, 17 Oct 2016 03:41:12 +0100 [thread overview]
Message-ID: <87insrofxz.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <CAKrPhPP7mqFJvuenw2GP_ELV6Q--LekOrwuwuosxGi4ricqJPA@mail.gmail.com>
Federico Beffa <beffa@ieee.org> writes:
> From 9cbbc66e111c5446f818ce1f9aa8f1bc52300bec Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Sun, 16 Oct 2016 16:25:26 +0200
> Subject: [PATCH 09/15] 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..4203227 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 <beffa@fbengineering.ch>
> +;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch>
> ;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
> ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
> ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
> @@ -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 floag "NO_LAPACK=1" which
> + ;;; disables inclusion of the LAPACK functions.
^^^
Only two semicolons here. Also s/floag/flag.
> + ;;(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
> --
> 2.7.4
prev parent reply other threads:[~2016-10-17 2:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-16 15:32 [PATCH 09/15] gnu: Add ghc-hmatrix Federico Beffa
2016-10-17 2:41 ` Marius Bakke [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87insrofxz.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=beffa@ieee.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.