guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: guile-bytestructures: Switch to git-fetch.


From: guix-commits
Subject: 03/05: gnu: guile-bytestructures: Switch to git-fetch.
Date: Sun, 29 Dec 2019 15:27:52 -0500 (EST)

mothacehe pushed a commit to branch master
in repository guix.

commit 16e42db095eb7dff1ed93f2321ee743257e2b821
Author: Mathieu Othacehe <address@hidden>
Date:   Sun Dec 29 21:21:49 2019 +0100

    gnu: guile-bytestructures: Switch to git-fetch.
    
    * gnu/packages/guile.scm (guile-bytestructures)[home-page]: Move up,
    [source]: switch form url-fetch to git-fetch method,
    [native-inputs]: add autoconf and automake.
---
 gnu/packages/guile.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 03aa474..daac970 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -585,20 +585,22 @@ Guile's foreign function interface.")
   (package
     (name "guile-bytestructures")
     (version "1.0.7")
+    (home-page "https://github.com/TaylanUB/scheme-bytestructures";)
     (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/TaylanUB/scheme-bytestructures";
-                                  "/releases/download/v" version
-                                  "/bytestructures-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
               (sha256
                (base32
                 "0q0habjiy3h9cigb7q1br9kz6z212dn2ab31f6dgd3rrmsfn5rvb"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
     (inputs
      `(("guile" ,guile-2.2)))
-    (home-page "https://github.com/TaylanUB/scheme-bytestructures";)
     (synopsis "Structured access to bytevector contents for Guile")
     (description
      "Guile bytestructures offers a system imitating the type system



reply via email to

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