guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: ocaml-gsl: Update to 1.24.0.


From: guix-commits
Subject: 04/04: gnu: ocaml-gsl: Update to 1.24.0.
Date: Sun, 24 Mar 2019 10:28:42 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 8fd897888dda9872d48cc8b6c99186564dda1d4b
Author: Julien Lepiller <address@hidden>
Date:   Sun Mar 24 15:26:25 2019 +0100

    gnu: ocaml-gsl: Update to 1.24.0.
    
    * gnu/packages/ocaml.scm (ocaml-gsl): Update to 1.24.0.
---
 gnu/packages/ocaml.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 5c32c43..7bebf39 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4791,7 +4791,7 @@ Atom.")
 (define-public ocaml-gsl
   (package
     (name "ocaml-gsl")
-    (version "1.22.0")
+    (version "1.24.0")
     (source
      (origin
        (method url-fetch)
@@ -4801,10 +4801,22 @@ Atom.")
          version "/gsl-" version ".tbz"))
        (sha256
         (base32
-         "17vcswipliq1b2idbzx1z95kskn1a4q4s5v04igilg0f7lnkaarb"))))
-    (build-system ocaml-build-system)
+         "1l5zkkkg8sglsihrbf10ivq9s8xzl1y6ag89i4jqpnmi4m43fy34"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:test-target "."
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-gsl-directory
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "src/config/discover.ml"
+               (("/usr") (assoc-ref inputs "gsl")))
+             #t)))))
     (inputs
      `(("gsl" ,gsl)))
+    (propagated-inputs
+     `(("ocaml-base" ,ocaml-base)
+       ("ocaml-stdio" ,ocaml-stdio)))
     (home-page "https://mmottl.github.io/gsl-ocaml";)
     (synopsis "Bindings to the GNU Scientific Library")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]