guix-commits
[Top][All Lists]
Advanced

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

branch wip-ocaml4.09 updated: gnu: ocaml-ctypes: Don't use unstable tarb


From: guix-commits
Subject: branch wip-ocaml4.09 updated: gnu: ocaml-ctypes: Don't use unstable tarball.
Date: Sun, 12 Jan 2020 23:31:24 -0500

This is an automated email from the git hooks/post-receive script.

brettgilio pushed a commit to branch wip-ocaml4.09
in repository guix.

The following commit(s) were added to refs/heads/wip-ocaml4.09 by this push:
     new 63dbd67  gnu: ocaml-ctypes: Don't use unstable tarball.
63dbd67 is described below

commit 63dbd676c85b0da96f724e4161c7a7f7a4559f2c
Author: Brett Gilio <address@hidden>
AuthorDate: Sun Jan 12 22:30:19 2020 -0600

    gnu: ocaml-ctypes: Don't use unstable tarball.
    
    * gnu/packages/ocaml.scm (ocaml-ctypes)[source]: Use GIT-FETCH and
      GIT-FILE-NAME. Move home-page field later in package definition.
---
 gnu/packages/ocaml.scm | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 32eeb8c..e19d03b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3144,14 +3144,16 @@ long and size_t whose sizes depend on the host 
platform.")
   (package
    (name "ocaml-ctypes")
    (version "0.14.0")
-   (home-page "https://github.com/ocamllabs/ocaml-ctypes";)
-   (source (origin
-             (method url-fetch)
-             (uri (string-append home-page "/archive/" version ".tar.gz"))
-             (file-name (string-append name "-" version ".tar.gz"))
-             (sha256
-              (base32
-               "0zrsd42q2nciyg9375g2kydqax6ay299rhyfgms59qiw7d9ylyp9"))))
+   (source
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/ocamllabs/ocaml-ctypes.git";)
+            (commit version)))
+      (file-name (git-file-name name version))
+      (sha256
+       (base32
+        "1b2q3h63ngf4x9qp65qwapf2dg9q0mcdah6qjm2q0c7v2p5vysv9"))))
    (build-system ocaml-build-system)
    (arguments
     `(#:tests? #f; require an old lwt
@@ -3177,6 +3179,7 @@ structure of C types -- numeric types, arrays, pointers, 
structs, unions and
 functions.  You can use these combinators to describe the types of the
 functions that you want to call, then bind directly to those functions -- all
 without writing or generating any C!")
+   (home-page "https://github.com/ocamllabs/ocaml-ctypes";)
    (license license:expat)))
 
 (define-public ocaml-ocb-stubblr



reply via email to

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