efraim pushed a commit to branch master
in repository guix.

commit d25a48768d18ee66be8acd453b9468bfae34158a
Author: Efraim Flashner <efr...@flashner.co.il>
Date:   Tue Jan 1 12:54:20 2019 +0200

    gnu: amule: Use 'git-fetch'.
    
    * gnu/packages/networking.scm (amule)[source]: Use 'git-fetch'.
---
 gnu/packages/networking.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 0fe854c..f7b0b15 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1860,14 +1860,14 @@ file for more details.")
     (name "amule")
     (version "2.3.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/amule-project/amule/archive/";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/amule-project/amule";)
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1wvcj0n9xz03xz5c2xwp6dwfp7sqjhhwbki3m0lwikskpn9lkzk2"))
+                "010wxm6g9f92x6fympj501zbnjka32rzbx0sk3a2y4zpih5d2nsn"))
               ;; Patch for adopting crypto++ >= 6.0.
               (patches (search-patches "amule-crypto-6.patch"))))
     (build-system gnu-build-system)

Reply via email to