gnu: thefuck: Don't use unstable tarball.

* gnu/packages/admin.scm (thefuck)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-12-23 10:31:09 +01:00
parent e956d76ddb
commit a0c693e173
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 10 additions and 9 deletions

View File

@ -2015,14 +2015,15 @@ throughput (in the same interval).")
(package
(name "thefuck")
(version "3.28")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/nvbn/thefuck/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nvbn/thefuck.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1i11qlnbg95nx7dcf6wqvfz7b230dqr5m981md4hvyaa1qw3xj5m"))
(base32 "070b2sx8r0b4hry6xg97psxlikxghmz91zicg2cm6kc1yhgz4agc"))
(patches (search-patches "thefuck-test-environ.patch"))))
(build-system python-build-system)
(arguments