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") (name "amule")
(version "2.3.2") (version "2.3.2")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/amule-project/amule/archive/" (url "https://github.com/amule-project/amule")
version ".tar.gz")) (commit version)))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1wvcj0n9xz03xz5c2xwp6dwfp7sqjhhwbki3m0lwikskpn9lkzk2")) "010wxm6g9f92x6fympj501zbnjka32rzbx0sk3a2y4zpih5d2nsn"))
;; Patch for adopting crypto++ >= 6.0. ;; Patch for adopting crypto++ >= 6.0.
(patches (search-patches "amule-crypto-6.patch")))) (patches (search-patches "amule-crypto-6.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)