gnu: cmus: Switch to new package style.
* gnu/packages/music.scm (cmus): Switch to new style. [arguments]: Use g-exps. Drop trailing #t from 'configure phase. Change-Id: Ia840202adddf390bd29a0fb57fa1a3294dd7a61a Signed-off-by: jgart <jgart@dismail.de>master
parent
363b50f579
commit
7daf932892
|
@ -827,17 +827,15 @@ It is a fork of Clementine aimed at music collectors and audiophiles.")
|
||||||
"1k50z99v2yqshycx6mbk4g5bsaalg5dgzjv3xvwq14abwkw44hli"))))
|
"1k50z99v2yqshycx6mbk4g5bsaalg5dgzjv3xvwq14abwkw44hli"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; cmus does not include tests
|
(list
|
||||||
|
#:tests? #f ; cmus does not include tests
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((out (assoc-ref outputs "out")))
|
|
||||||
;; It's an idiosyncratic configure script that doesn't
|
;; It's an idiosyncratic configure script that doesn't
|
||||||
;; understand --prefix=..; it wants prefix=.. instead.
|
;; understand --prefix=..; it wants prefix=.. instead.
|
||||||
(invoke "./configure"
|
(invoke "./configure" (string-append "prefix=" #$output)))))))
|
||||||
(string-append "prefix=" out))
|
|
||||||
#t))))))
|
|
||||||
;; TODO: cmus optionally supports the following formats, which haven't yet
|
;; TODO: cmus optionally supports the following formats, which haven't yet
|
||||||
;; been added to Guix:
|
;; been added to Guix:
|
||||||
;;
|
;;
|
||||||
|
|
Reference in New Issue