summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-28 22:17:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:47 +0100
commit4342a046c9cd7ff493e3f460a68a234840c38767 (patch)
tree1dd7e55bf7de765f805f5221c98800334804b367
parent8322ecb08075bd8e3f5d881022a9b51f2388e521 (diff)
downloadpatches-4342a046c9cd7ff493e3f460a68a234840c38767.tar
patches-4342a046c9cd7ff493e3f460a68a234840c38767.tar.gz
gnu: mktorrent: Fetch sources from git.
* gnu/packages/bittorrent.scm (mktorrent)[source]: Fetch from git.
-rw-r--r--gnu/packages/bittorrent.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 80c381d2e7..e834ba3d2a 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -341,13 +341,14 @@ downloads, download scheduling, download rate limiting.")
(name "mktorrent")
(version "1.1")
(source (origin
- (method url-fetch)
- (file-name (string-append name "-" version ".tar.gz"))
- (uri (string-append "https://github.com/Rudde/mktorrent/archive/v"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Rudde/mktorrent.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1j9qc4fxa9isnaygqk6jazsiklqywl2wcs95b8dx01963407bx6h"))))
+ "17pdc5mandl739f8q26n5is8ga56s83aqcrwhlnnplbxwx2inidr"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases