gnu: sfml: Don't use unstable tarball.

* gnu/packages/game-development.scm (sfml)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-10-25 04:20:27 +02:00
parent b865e7c254
commit 95f6adae34
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 5 deletions

View File

@ -442,16 +442,17 @@ clone.")
(name "sfml") (name "sfml")
(version "2.5.0") (version "2.5.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
;; Do not fetch the archives from ;; Do not fetch the archives from
;; http://mirror0.sfml-dev.org/files/ because files there seem ;; http://mirror0.sfml-dev.org/files/ because files there seem
;; to be changed in place. ;; to be changed in place.
(uri (string-append "https://github.com/SFML/SFML/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/SFML/SFML.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1x3yvhdrln5b6h4g5r4mds76gq8zsxw6icxqpwqkmxsqcq5yviab")) "1cmg7xgk2shi94h47w0p9g0wh4g00sgwlq0nwc1n6d6qy9wfrx1k"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin