summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-01-01 12:54:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-01-01 12:54:20 +0200
commitd25a48768d18ee66be8acd453b9468bfae34158a (patch)
tree0132df2a54228cd8f7b33f3db97ac921de04f16e /gnu/packages
parentfc1ed8c1a7808d74103483c4a353114077014794 (diff)
downloadguix-d25a48768d18ee66be8acd453b9468bfae34158a.tar.gz
gnu: amule: Use 'git-fetch'.
* gnu/packages/networking.scm (amule)[source]: Use 'git-fetch'.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/networking.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 0fe854c49a..f7b0b15449 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)