~ruther/guix-local

e9d3f3656bd8a16deb1f643c9ed9f5706a6f9eaf — Julien Lepiller 4 years ago 40239e2
gnu: Add ocaml-lacaml.

* gnu/packages/ocaml.scm (ocaml4.07-lacaml): Replace with...
(ocaml-lacaml): ...this.  Use latest ocaml package.
1 files changed, 8 insertions(+), 11 deletions(-)

M gnu/packages/ocaml.scm
M gnu/packages/ocaml.scm => gnu/packages/ocaml.scm +8 -11
@@ 6922,7 6922,7 @@ language understood by ocamldoc.")
       ("fftwf" ,fftwf)))
    (native-inputs
     `(("ocaml-cppo" ,(package-with-ocaml4.07 ocaml-cppo))
       ("ocaml-lacaml" ,ocaml4.07-lacaml)))
       ("ocaml-lacaml" ,(package-with-ocaml4.07 ocaml-lacaml))))
    (home-page
     "https://github.com/Chris00/fftw-ocaml")
    (synopsis


@@ 6932,10 6932,10 @@ language understood by ocamldoc.")
library FFTW.")
    (license license:lgpl2.1))) ; with static linking exception.

(define-public ocaml4.07-lacaml
(define-public ocaml-lacaml
  (package
    (name "ocaml4.07-lacaml")
    (version "11.0.5")
    (name "ocaml-lacaml")
    (version "11.0.8")
    (source
     (origin
       (method git-fetch)


@@ 6945,18 6945,15 @@ library FFTW.")
       (file-name (git-file-name name version))
       (sha256
        (base32
         "180yb79a3qgx067qcpm50q12hrimjygf06rgkzbish9d1zfm670c"))))
         "115535kphchh2a434b48b408x9794j8zzrsdmacsgqdsrgy3rck4"))))
    (build-system dune-build-system)
    (arguments
     `(#:tests? #f ; No test target.
       #:ocaml ,ocaml-4.07
       #:findlib ,ocaml4.07-findlib
       #:dune ,ocaml4.07-dune))
     `(#:tests? #f)) ; No test target.
    (native-inputs
     `(("openblas" ,openblas)
       ("lapack" ,lapack)
       ("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
       ("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))))
       ("ocaml-base" ,ocaml-base)
       ("ocaml-stdio" ,ocaml-stdio)))
    (home-page "https://mmottl.github.io/lacaml/")
    (synopsis
     "OCaml-bindings to BLAS and LAPACK")