guix-commits
[Top][All Lists]
Advanced

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

11/16: gnu: coq-mathcomp: Don't use unstable tarball.


From: guix-commits
Subject: 11/16: gnu: coq-mathcomp: Don't use unstable tarball.
Date: Tue, 12 Feb 2019 23:43:39 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit aaa2add87111051b01159aa2e46dd7f55b28edb6
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Dec 23 11:11:33 2018 +0100

    gnu: coq-mathcomp: Don't use unstable tarball.
    
    * gnu/packages/coq.scm (coq-mathcomp)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/coq.scm | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm
index 6cedb83..fa02f85 100644
--- a/gnu/packages/coq.scm
+++ b/gnu/packages/coq.scm
@@ -285,20 +285,22 @@ assistant.")
   (package
     (name "coq-mathcomp")
     (version "1.7.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/math-comp/math-comp/archive/mathcomp-";
-                                  version ".tar.gz"))
-              (sha256
-               (base32
-                "05zgyi4wmasi1rcyn5jq42w0bi9713q9m8dl1fdgl66nmacixh39"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/math-comp/math-comp.git";)
+             (commit (string-append "mathcomp-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1cdzi67jj440xkdpxm10aly80zpn56vjzj2ygb67iq3xpljlv95h"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("ocaml" ,ocaml)
        ("which" ,which)
        ("coq" ,coq)))
     (arguments
-     `(#:tests? #f; No need to test formally-verified programs :)
+     `(#:tests? #f             ; no need to test formally-verified programs :)
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)



reply via email to

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