aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-11-02 17:02:28 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-11-02 21:53:26 +0800
commit28bd0ddf2d593cd4afc847bb91b9a9af36251fb5 (patch)
tree6728965d006185e19fba0f6a8dacb91e7d5d8304 /gnu/packages
parent3ff396ef8c555211db0f7fd26552a570dde30c92 (diff)
downloadguix-28bd0ddf2d593cd4afc847bb91b9a9af36251fb5.tar
guix-28bd0ddf2d593cd4afc847bb91b9a9af36251fb5.tar.gz
gnu: mpd-mpc: build from git source.
* gnu/packages/mpd.scm (mpd-mpc)[source]: Switch to git-fetch. Change-Id: I56e11e9565c3b1d8130f3f4806d99ad55d94ee26
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/mpd.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 0726e541d7..c5632203dd 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -229,14 +229,15 @@ protocol.")
(name "mpd-mpc")
(version "0.35")
(source (origin
- (method url-fetch)
+ (method git-fetch)
(uri
- (string-append "https://www.musicpd.org/download/mpc/"
- (car (string-split version #\.))
- "/mpc-" version ".tar.xz"))
+ (git-reference
+ (url "https://github.com/MusicPlayerDaemon/mpc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1m3q71p3i8ca2ycmdzq7cshj5f4i0ijkh9138r9mnxm2pz1mja9q"))))
+ "1fv9v5jmcw8ba4bfg5mxdfwy4skaifls3843f23z6qpcg67nfmx1"))))
(build-system meson-build-system)
(arguments
(list #:phases