gnu: python-flask-login: Don't use unstable tarball.

* gnu/packages/python-web.scm (python-flask-login)[source]:
Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-09-25 03:44:19 +02:00
parent 932839ff12
commit 79374801d0
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 6 deletions

View File

@ -2056,13 +2056,13 @@ It comes with safe defaults and easily configurable options.")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/maxcountryman/flask-login/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/maxcountryman/flask-login.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1pdqp7a2gyb7k06xda004x0fi2w66s6kn2i0ndkqndmg12d83f9w"))))
(base32 "0sjbmk8m4mmd9g99n6c6lx9nv2jwwqp6qsqhl945w2m0f1sknwdh"))))
(arguments
;; Tests fail PEP8 compliance. See:
;; https://github.com/maxcountryman/flask-login/issues/340