gnu: onionshare: Fetch sources from git.

* gnu/packages/tor.scm (onionshare)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-29 06:23:10 +01:00
parent 4342a046c9
commit d123b0944f
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 5 deletions

View File

@ -165,13 +165,14 @@ networks.")
(version "0.9.2") (version "0.9.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/micahflee/onionshare/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/micahflee/onionshare.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"02iv7dg15da57gy3zvfchnwwpr21n1gva7mqwpwr958ni2034smk")))) "1nzr6m3jp04p1i8b652s27zv0xhybl3zwcn5r6l9h0f7d7x4iglv"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases