diff mbox series

[bug#38965,09/12] gnu: coq-coquelicot: Update to 3.0.3.

Message ID 87eewdvvjh.fsf@gnu.org
State Accepted
Headers show
Series [bug#38965,01/12] gnu: Add ocaml-cairo2. | expand

Commit Message

Brett Gilio Jan. 6, 2020, 8:28 a.m. UTC

diff mbox series

Patch

From 766d25903c01cece3e88eaec2f1cbe28b322cdae Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@gnu.org>
Date: Mon, 6 Jan 2020 01:39:52 -0600
Subject: [PATCH 09/12] gnu: coq-coquelicot: Update to 3.0.3.
To: guix-patches@gnu.org

* gnu/packages/coq.scm (coq-coquelicot): Update to 3.0.3.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[native-inputs]: Add autoconf and automake.
---
 gnu/packages/coq.scm | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm
index 0645d4d59e..b5de804c9d 100644
--- a/gnu/packages/coq.scm
+++ b/gnu/packages/coq.scm
@@ -366,17 +366,22 @@  part of the distribution.")
 (define-public coq-coquelicot
   (package
     (name "coq-coquelicot")
-    (version "3.0.2")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://gforge.inria.fr/frs/download.php/"
-                                  "file/37523/coquelicot-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1biia7nfqf7vaqq5gmykl4rwjyvrcwss6r2jdf0in5pvp2rnrj2w"))))
+    (version "3.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.inria.fr/coquelicot/coquelicot.git")
+             (commit (string-append "coquelicot-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0m5wbr2s8lnf8b7cfwv15hyzsmbcaz6hgdn7aazcrkxnwr87vgkp"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("ocaml" ,ocaml)
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("ocaml" ,ocaml)
        ("which" ,which)
        ("coq" ,coq)))
     (propagated-inputs
-- 
2.24.1