aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 06:23:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:47 +0100
commitd123b0944f39b7deec7881647d88b885a62b983a (patch)
treeed8e8ba1dbc015169e51b8136b59831f18f077be
parent4342a046c9cd7ff493e3f460a68a234840c38767 (diff)
downloadpatches-d123b0944f39b7deec7881647d88b885a62b983a.tar
patches-d123b0944f39b7deec7881647d88b885a62b983a.tar.gz
gnu: onionshare: Fetch sources from git.
* gnu/packages/tor.scm (onionshare)[source]: Fetch from git.
-rw-r--r--gnu/packages/tor.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index e28a6d4f48..a9bbebcd13 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -165,13 +165,14 @@ networks.")
(version "0.9.2")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/micahflee/onionshare/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/micahflee/onionshare.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "02iv7dg15da57gy3zvfchnwwpr21n1gva7mqwpwr958ni2034smk"))))
+ "1nzr6m3jp04p1i8b652s27zv0xhybl3zwcn5r6l9h0f7d7x4iglv"))))
(build-system python-build-system)
(arguments
`(#:phases