gnu: amule: Use 'git-fetch'.

* gnu/packages/networking.scm (amule)[source]: Use 'git-fetch'.
This commit is contained in:
Efraim Flashner 2019-01-01 12:54:20 +02:00
parent fc1ed8c1a7
commit d25a48768d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1860,14 +1860,14 @@ (define-public amule
(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)