Subject: Re: [bug#31947] [PATCH] gnu: Add clyrics.

From: [email-masked] (Ludovic Courtès)
Date: Mon, 25 Jun 2018 22:54:18 +0200

Pierre Neidhardt <[email-masked]> skribis:

> * gnu/packages/music.scm (clyrics): New variable.

Applied with the following tweaks.  Thanks!

Ludo’.

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 2a1ecd25a..824b03dc0 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4031,12 +4031,13 @@ MusicBrainz lookup capabilities to their applications.")
              version ".tar.gz"))
        (sha256
         (base32
-         "1l0cg26afnjv8cgk0jbiavbyvq55q1djyigzmi526rpcjjwq9jwn"))))
+         "1l0cg26afnjv8cgk0jbiavbyvq55q1djyigzmi526rpcjjwq9jwn"))
+       (file-name (string-append name "-" version ".tar.gz"))))
     (build-system trivial-build-system)
     (native-inputs `(("tar" ,tar)
                      ("gzip" ,gzip)))
     (inputs
-     `(("bash" ,bash)                   ; For the wrapped-program.
+     `(("bash" ,bash)                             ;for the wrapped program
        ("perl" ,perl)
        ("perl-www-mechanize" ,perl-www-mechanize)
        ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
@@ -4078,12 +4079,9 @@ MusicBrainz lookup capabilities to their applications.")
                      (copy-recursively "plugins" (string-append output "/clyrics"))
                      #t))))
     (home-page "https://github.com/trizen/clyrics")
-    (synopsis "Extensible lyrics fetcher, with daemon support for cmus and mocp")
-    (description "An extensible lyrics fetcher, with daemon support for cmus and mocp.
-Features:
-
-@itemize
-@item support for plugins
-@item cmus and mocp daemon mode
-@end itemize\n")
+    (synopsis "Extensible lyrics fetcher")
+    (description
+     "Clyrics is an extensible command-line tool to fetch the lyrics of songs.
+It can be used in daemon mode along with the Music-on-Console (MOC) and cmus
+console music players.")
     (license license:gpl3+)))