From: Julien Lepiller <julien@lepiller.eu>
To: 51358@debbugs.gnu.org
Subject: [bug#51358] [PATCH 3/4] gnu: Add ocaml-gsl.
Date: Tue, 26 Oct 2021 00:06:41 +0200 [thread overview]
Message-ID: <38172f3c92b0ab3462985efef82e155dbe4025ad.1635199548.git.julien@lepiller.eu> (raw)
In-Reply-To: <20211026000536.1b19cf19@tachikoma.lepiller.eu>
* gnu/packages/ocaml.scm (ocaml4.07-gsl): Replace with...
(ocaml-gsl): ...this. Use latest ocaml package.
(ocaml4.07-gsl-1): Adapt accordingly.
---
gnu/packages/ocaml.scm | 53 +++++++++++++++++++-----------------------
1 file changed, 24 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f0469940aa..a6e8af8bcf 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4650,9 +4650,9 @@ (define-public ocaml-merlin
Atom.")
(license license:expat)))
-(define-public ocaml4.07-gsl
+(define-public ocaml-gsl
(package
- (name "ocaml4.07-gsl")
+ (name "ocaml-gsl")
(version "1.24.0")
(source
(origin
@@ -4672,16 +4672,12 @@ (define-public ocaml4.07-gsl
(add-after 'unpack 'fix-gsl-directory
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/config/discover.ml"
- (("/usr") (assoc-ref inputs "gsl")))
- #t)))
- #:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib
- #:dune ,ocaml4.07-dune))
+ (("/usr") (assoc-ref inputs "gsl"))))))))
(inputs
`(("gsl" ,gsl)))
(propagated-inputs
- `(("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/gsl-ocaml")
(synopsis "Bindings to the GNU Scientific Library")
(description
@@ -4690,26 +4686,25 @@ (define-public ocaml4.07-gsl
(license license:gpl3+)))
(define-public ocaml4.07-gsl-1
- (package
- (inherit ocaml4.07-gsl)
- (version "1.19.3")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/mmottl/gsl-ocaml"
- "/releases/download/v"
- version "/gsl-ocaml-" version ".tar.gz"))
- (sha256
- (base32
- "0nzp43hp8pbjqkrxnwp5lgjrabxayf61h18fjaydi0s5faq6f3xh"))))
- (build-system ocaml-build-system)
- (inputs
- `(("gsl" ,gsl)))
- (native-inputs
- `(("ocamlbuild" ,(package-with-ocaml4.07 ocamlbuild))))
- (arguments
- `(#:ocaml ,ocaml-4.07
- #:findlib ,ocaml4.07-findlib))
- (propagated-inputs '())))
+ (package-with-ocaml4.07
+ (package
+ (inherit ocaml-gsl)
+ (version "1.19.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mmottl/gsl-ocaml"
+ "/releases/download/v"
+ version "/gsl-ocaml-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0nzp43hp8pbjqkrxnwp5lgjrabxayf61h18fjaydi0s5faq6f3xh"))))
+ (build-system ocaml-build-system)
+ (inputs
+ `(("gsl" ,gsl)))
+ (native-inputs
+ `(("ocamlbuild" ,ocamlbuild)))
+ (arguments '())
+ (propagated-inputs '()))))
(define-public cubicle
(package
--
2.33.0
next prev parent reply other threads:[~2021-10-25 22:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-23 17:52 [bug#51358] [PATCH] Getting rid of some ocaml4.07-* packages Julien Lepiller
2021-10-23 17:58 ` [bug#51358] [PATCH 1/4] gnu: Add ocaml-lacaml Julien Lepiller
2021-10-25 13:56 ` [bug#51358] [PATCH] Getting rid of some ocaml4.07-* packages zimoun
2021-10-25 22:05 ` Julien Lepiller
2021-10-25 22:06 ` [bug#51358] [PATCH 1/4] gnu: Add ocaml-lacaml Julien Lepiller
2021-10-27 13:39 ` [bug#51358] [PATCH] Getting rid of some ocaml4.07-* packages zimoun
2021-10-27 15:27 ` Julien Lepiller
2021-11-15 13:10 ` zimoun
2021-11-20 18:56 ` bug#51358: " Julien Lepiller
2021-11-22 9:14 ` [bug#51358] " zimoun
2021-11-22 19:40 ` Ricardo Wurmus
2021-10-25 22:06 ` [bug#51358] [PATCH 2/4] gnu: Add ocaml-fftw3 Julien Lepiller
2021-10-25 22:06 ` Julien Lepiller [this message]
2021-10-25 22:06 ` [bug#51358] [PATCH 4/4] gnu: Add ocaml-charinfo-width Julien Lepiller
2021-11-15 12:45 ` zimoun
2021-10-23 17:58 ` [bug#51358] [PATCH 2/4] gnu: Add ocaml-fftw3 Julien Lepiller
2021-10-23 17:58 ` [bug#51358] [PATCH 3/4] gnu: Add ocaml-gsl Julien Lepiller
2021-10-23 17:58 ` [bug#51358] [PATCH 4/4] gnu: Add ocaml-charinfo-width Julien Lepiller
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38172f3c92b0ab3462985efef82e155dbe4025ad.1635199548.git.julien@lepiller.eu \
--to=julien@lepiller.eu \
--cc=51358@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).