guix-commits
[Top][All Lists]
Advanced

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

13/38: gnu: thefuck: Don't use unstable tarball.


From: guix-commits
Subject: 13/38: gnu: thefuck: Don't use unstable tarball.
Date: Fri, 8 Feb 2019 18:02:32 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit a0c693e17391663d7fbd5d88d96c082c0fa0f3a9
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Dec 23 10:31:09 2018 +0100

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

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index bb6bcae..3fc9e9e 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2015,15 +2015,16 @@ throughput (in the same interval).")
   (package
     (name "thefuck")
     (version "3.28")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/nvbn/thefuck/archive/";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1i11qlnbg95nx7dcf6wqvfz7b230dqr5m981md4hvyaa1qw3xj5m"))
-              (patches (search-patches "thefuck-test-environ.patch"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nvbn/thefuck.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "070b2sx8r0b4hry6xg97psxlikxghmz91zicg2cm6kc1yhgz4agc"))
+       (patches (search-patches "thefuck-test-environ.patch"))))
     (build-system python-build-system)
     (arguments
      '(#:phases



reply via email to

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