gnu: Add ocaml-lacaml.

* gnu/packages/ocaml.scm (ocaml4.07-lacaml): Replace with...
(ocaml-lacaml): ...this.  Use latest ocaml package.
This commit is contained in:
Julien Lepiller 2021-10-26 00:06:39 +02:00
parent 40239e23e8
commit e9d3f3656b
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -6922,7 +6922,7 @@ (define-public ocaml4.07-fftw3
("fftwf" ,fftwf))) ("fftwf" ,fftwf)))
(native-inputs (native-inputs
`(("ocaml-cppo" ,(package-with-ocaml4.07 ocaml-cppo)) `(("ocaml-cppo" ,(package-with-ocaml4.07 ocaml-cppo))
("ocaml-lacaml" ,ocaml4.07-lacaml))) ("ocaml-lacaml" ,(package-with-ocaml4.07 ocaml-lacaml))))
(home-page (home-page
"https://github.com/Chris00/fftw-ocaml") "https://github.com/Chris00/fftw-ocaml")
(synopsis (synopsis
@ -6932,10 +6932,10 @@ (define-public ocaml4.07-fftw3
library FFTW.") library FFTW.")
(license license:lgpl2.1))) ; with static linking exception. (license license:lgpl2.1))) ; with static linking exception.
(define-public ocaml4.07-lacaml (define-public ocaml-lacaml
(package (package
(name "ocaml4.07-lacaml") (name "ocaml-lacaml")
(version "11.0.5") (version "11.0.8")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -6945,18 +6945,15 @@ (define-public ocaml4.07-lacaml
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"180yb79a3qgx067qcpm50q12hrimjygf06rgkzbish9d1zfm670c")))) "115535kphchh2a434b48b408x9794j8zzrsdmacsgqdsrgy3rck4"))))
(build-system dune-build-system) (build-system dune-build-system)
(arguments (arguments
`(#:tests? #f ; No test target. `(#:tests? #f)) ; No test target.
#:ocaml ,ocaml-4.07
#:findlib ,ocaml4.07-findlib
#:dune ,ocaml4.07-dune))
(native-inputs (native-inputs
`(("openblas" ,openblas) `(("openblas" ,openblas)
("lapack" ,lapack) ("lapack" ,lapack)
("ocaml-base" ,(package-with-ocaml4.07 ocaml-base)) ("ocaml-base" ,ocaml-base)
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio)))) ("ocaml-stdio" ,ocaml-stdio)))
(home-page "https://mmottl.github.io/lacaml/") (home-page "https://mmottl.github.io/lacaml/")
(synopsis (synopsis
"OCaml-bindings to BLAS and LAPACK") "OCaml-bindings to BLAS and LAPACK")