gnu: weechat: Switch to git source.

* gnu/packages/irc.scm (weechat)[source]: Use git-fetch.

Change-Id: I031d494db1b7c273bc87d0bdb21ee51c2c3ae10b
This commit is contained in:
Zheng Junjie 2024-12-01 15:46:09 +08:00
parent f9c3a6dd2a
commit f4831760a9
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -374,12 +374,14 @@ (define-public weechat
(name "weechat")
(version "4.4.4")
(source (origin
(method url-fetch)
(uri (string-append "https://weechat.org/files/src/weechat-"
version ".tar.xz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/weechat/weechat")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0xyhygldlxil0s7cab576jvikvmjgdxdrrml3vmc6sixiivbpx58"))))
"18v622ddgvqpplpa5jg25b9cqjzm8fk8saqhfmld2pgslaqgkcq4"))))
(build-system cmake-build-system)
(outputs '("out" "doc"))
(native-inputs