guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: bear: Don't use unstable tarball.


From: Tobias Geerinckx-Rice
Subject: 02/08: gnu: bear: Don't use unstable tarball.
Date: Thu, 9 Aug 2018 20:19:19 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit f85af5abc01347bdda2e90dd3b466ffc392c249d
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Thu Aug 9 02:40:56 2018 +0200

    gnu: bear: Don't use unstable tarball.
    
    * gnu/packages/build-tools.scm (bear)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/build-tools.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index e693aec..ffdb8aa 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -25,6 +25,7 @@
   #:use-module (guix utils)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (gnu packages)
   #:use-module (gnu packages compression)
@@ -78,14 +79,14 @@ makes a few sacrifices to acquire fast full and incremental 
build times.")
     (name "bear")
     (version "2.3.11")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/rizsotto/Bear/archive/";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/rizsotto/Bear";)
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1m0w0wqnz983l7fpp5p9pdsqr7n3ybrzp8ywjcvn0rihsrzj65j6"))))
+                "0r6ykvclq9ws055ssd8w33dicmk5l9pisv0fpzkks700n8d3z9f3"))))
     (build-system cmake-build-system)
     (inputs
      `(("python" ,python-wrapper)))



reply via email to

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