1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: mpd-mpc: build from git source.

* gnu/packages/mpd.scm (mpd-mpc)[source]: Switch to git-fetch.

Change-Id: I56e11e9565c3b1d8130f3f4806d99ad55d94ee26
This commit is contained in:
Zheng Junjie
2024-11-02 17:02:28 +08:00
parent 3ff396ef8c
commit 28bd0ddf2d

View File

@@ -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