guix-commits
[Top][All Lists]
Advanced

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

01/12: gnu: ocamlbuild: Don't use unstable tarball.


From: guix-commits
Subject: 01/12: gnu: ocamlbuild: Don't use unstable tarball.
Date: Sun, 14 Apr 2019 23:18:51 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 8da3f78e5780649a63ed1f8343cf492e723cba43
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:08:42 2019 +0200

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0190c39..78261ce 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2016, 2018 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016-2018 Julien Lepiller <address@hidden>
 ;;; Copyright © 2017 Ben Woodcroft <address@hidden>
-;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Peter Kreye <address@hidden>
 ;;; Copyright © 2018, 2019 Gabriel Hondet <address@hidden>
 ;;; Copyright © 2018 Kei Kebreau <address@hidden>
@@ -265,14 +265,15 @@ functional, imperative and object-oriented styles of 
programming.")
   (package
     (name "ocamlbuild")
     (version "0.13.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/ocaml/ocamlbuild/archive/";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1320cfkixs1xlng5av04pa5qjb3ynvi2kl3k1ngqzg5fpi29b0vr"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ocaml/ocamlbuild.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0v37vjvdqw35yvj8ipmlzmwf1jhip0hbsmcbdcn9cnj12p3mr6k7"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"



reply via email to

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