From 28bd0ddf2d593cd4afc847bb91b9a9af36251fb5 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 2 Nov 2024 17:02:28 +0800 Subject: gnu: mpd-mpc: build from git source. * gnu/packages/mpd.scm (mpd-mpc)[source]: Switch to git-fetch. Change-Id: I56e11e9565c3b1d8130f3f4806d99ad55d94ee26 --- gnu/packages/mpd.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3