gnu: fmt: Switch back to url-fetch.
* gnu/packages/pretty-print.scm (fmt)[source]: Use url-fetch instead of git-fetch since upstream uploads releases. Both approaches produce the same package, but git-fetch requires more bandwidth.
This commit is contained in:
parent
0bc557fd70
commit
ece22a25b6
1 changed files with 4 additions and 6 deletions
|
@ -169,14 +169,12 @@ different programming languages.")
|
||||||
(name "fmt")
|
(name "fmt")
|
||||||
(version "6.1.2")
|
(version "6.1.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method url-fetch)
|
||||||
(uri (git-reference
|
(uri (string-append "https://github.com/fmtlib/fmt/releases/download/"
|
||||||
(url "https://github.com/fmtlib/fmt")
|
version "/fmt-" version ".zip"))
|
||||||
(commit version)))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ngb2fd7c2jnxi3x5kjgxmpixmyc737f77vibij43dl77ybiaihi"))))
|
"1s1hxaby5byb07rgmrk4a0q11fxhz7b42khch7sp2qx974y0yrb3"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
|
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
|
||||||
|
|
Reference in a new issue