unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 35207@debbugs.gnu.org
Subject: [bug#35207] [PATCH 2/3] gnu: Add ocaml4.02-gsl.
Date: Tue,  9 Apr 2019 15:13:29 +0200	[thread overview]
Message-ID: <20190409131330.12089-2-rekado@elephly.net> (raw)
In-Reply-To: <20190409131330.12089-1-rekado@elephly.net>

* gnu/packages/ocaml.scm (ocaml4.02-gsl): New variable.
---
 gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7bebf3921b..bf5d39db6c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4824,6 +4824,28 @@ Atom.")
 the OCaml language.")
     (license license:gpl3+)))
 
+;; This is the last version that can be built with without ocaml-base, which
+;; cannot be built with OCaml 4.02.
+(define-public ocaml4.02-gsl
+  (package
+    (inherit (package-with-ocaml4.02 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)))
+    (arguments
+     `(#:ocaml ,ocaml-4.02
+       #:findlib ,ocaml4.02-findlib))
+    (propagated-inputs '())))
+
 (define-public cubicle
   (package
     (name "cubicle")
-- 
2.20.1

  reply	other threads:[~2019-04-09 13:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-09 13:00 [bug#35207] [PATCH] Resurrect pplacer Ricardo Wurmus
2019-04-09 13:13 ` [bug#35207] [PATCH 1/3] gnu: Add ocaml4.02-mcl Ricardo Wurmus
2019-04-09 13:13   ` Ricardo Wurmus [this message]
2019-04-09 13:13   ` [bug#35207] [PATCH 3/3] gnu: Add pplacer Ricardo Wurmus
2019-04-09 17:12 ` [bug#35207] [PATCH] Resurrect pplacer Julien Lepiller
2019-04-09 17:41   ` Ricardo Wurmus
2019-04-11 12:55     ` Ricardo Wurmus
2019-04-11 13:02       ` Julien Lepiller
2019-04-11 14:56         ` Ricardo Wurmus
2019-04-11 15:23           ` bug#35207: " Ricardo Wurmus

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=20190409131330.12089-2-rekado@elephly.net \
    --to=rekado@elephly.net \
    --cc=35207@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).