guix-commits
[Top][All Lists]
Advanced

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

49/88: gnu: ocaml-bisect: Don't use unstable tarball.


From: guix-commits
Subject: 49/88: gnu: ocaml-bisect: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 23:44:43 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit e3c7ac732f81dee2e35a6c8b69423d9d20d7af81
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:10:14 2019 +0200

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index eb20dfb..338dbb8 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1362,17 +1362,18 @@ full_split, cut, rcut, etc..")
   (package
     (name "ocaml-bisect")
     (version "1.3.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/gasche/bisect/archive/";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0p67fppk5ifb63b00kxwrb1xg75hrqhknng3bsdyw3gxxqyjlpmx"))
-              (patches
-               (search-patches
-                "ocaml-bisect-fix-camlp4-in-another-directory.patch"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/gasche/bisect.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0hm5za61qydda6ri3887b4zqqbqilh42x712xnclm1rr7ggga2nh"))
+       (patches
+        (search-patches
+         "ocaml-bisect-fix-camlp4-in-another-directory.patch"))))
     (build-system ocaml-build-system)
     (native-inputs
      `(("camlp4" ,camlp4)



reply via email to

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