~ruther/guix-local

9a336d19780b8c84dcea317dfe61216eacb62f41 — Sharlatan Hellseher 5 months ago c1315b4
gnu: Add highfive.

* gnu/packages/maths.scm (highfive): New variable.

Change-Id: Ib4f983d955c08adb833c74f77f48b03ac3173944
1 files changed, 40 insertions(+), 0 deletions(-)

M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +40 -0
@@ 169,6 169,7 @@
  #:use-module (gnu packages multiprecision)
  #:use-module (gnu packages ncurses)
  #:use-module (gnu packages netpbm)
  #:use-module (gnu packages ninja)
  #:use-module (gnu packages ocaml)
  #:use-module (gnu packages onc-rpc)
  #:use-module (gnu packages parallel)


@@ 2362,6 2363,45 @@ installing this filter, you can read and write HDF5 files with
Blosc-compressed datasets.")
    (license license:expat)))

(define-public highfive
  (package
    (name "highfive")
    (version "2.10.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/BlueBrain/HighFive")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1yp9bah6prhy31p2xbj4yv7p0p1k0ifjhb0z9i36ki3zx5nsgzrn"))))
    (build-system cmake-build-system)
    (arguments
     (list
      #:configure-flags
      #~(list "-DHIGHFIVE_EXAMPLES=OFF"
              ;; TODO: maybe build with hdf5-parallel-openmpi
              ;; "-DHIGHFIVE_PARALLEL_HDF5=ON"
              "-DHIGHFIVE_UNIT_TESTS=ON"
              "-GNinja")))
    (native-inputs
     (list boost
           catch2-3
           ninja))
    (inputs
     (list hdf5))
    (home-page "https://bluebrain.github.io/HighFive/")
    (synopsis "Header-only C++ HDF5 interface")
    (description
     "HighFive is a header-only C++11 friendly interface for @code{libhdf5}.
 It supports STL vector/string, @code{Boost::UBLAS}, @code{Boost::Multi-array}
and Xtensor; and handles C++ from/to HDF5 with automatic type
mapping. HighFive does not require additional libraries.")
    ;; Boost Software License (BSL) - Version 1.0 - August 17th, 2003
    (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt"
                                "Some components have other similar licences."))))

(define-public itex2mml
  (package
    (name "itex2mml")