* [bug#57671] [PATCH] gnu: Add mpdevil.
@ 2022-09-08 8:48 Liliana Marie Prikler
2022-09-10 9:50 ` Christopher Baines
2022-09-10 9:57 ` [bug#57671] " ( via Guix-patches via
0 siblings, 2 replies; 4+ messages in thread
From: Liliana Marie Prikler @ 2022-09-08 8:48 UTC (permalink / raw)
To: 57671
* gnu/packages/mpd.scm (mpdevil): New variable.
---
gnu/packages/mpd.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 046471f32d..c7d9b4646c 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -523,3 +523,38 @@ (define-public mcg
album-experience.")
(home-page "https://gitlab.com/coderkun/mcg")
(license license:gpl3+)))
+
+(define-public mpdevil
+ (package
+ (name "mpdevil")
+ (version "1.7.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/SoongNoonien/mpdevil")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1va8fqlz8qb68gvacnzmp4asnipi11316n1cv2wb41sml9d7v00j"))))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:glib-or-gtk? #t
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((prog (string-append (assoc-ref outputs "out")
+ "/bin/mpdevil")))
+ (wrap-program prog
+ `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
+ (inputs (list gtk+ python python-mpd2 python-pygobject))
+ (native-inputs (list `(,glib "bin")))
+ (home-page "https://github.com/SoongNoonien/mpdevil")
+ (synopsis "Music browser for the MPD")
+ (description "mpdevil is a music browser for the Music Player Daemon (MPD),
+which is focused on playing local music without the need of managing playlists.
+Instead of maintaining a client side database of your music library,
+mpdevil loads all tags and covers on demand.")
+ (license license:gpl3+)))
--
2.37.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#57671] [PATCH] gnu: Add mpdevil.
2022-09-08 8:48 [bug#57671] [PATCH] gnu: Add mpdevil Liliana Marie Prikler
@ 2022-09-10 9:50 ` Christopher Baines
2022-09-10 15:25 ` bug#57671: " Liliana Marie Prikler
2022-09-10 9:57 ` [bug#57671] " ( via Guix-patches via
1 sibling, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2022-09-10 9:50 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: 57671
[-- Attachment #1: Type: text/plain, Size: 2333 bytes --]
Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> * gnu/packages/mpd.scm (mpdevil): New variable.
> ---
> gnu/packages/mpd.scm | 35 +++++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
There's one lint warning that can be fixed, but apart from that this
looks good to me.
> diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
> index 046471f32d..c7d9b4646c 100644
> --- a/gnu/packages/mpd.scm
> +++ b/gnu/packages/mpd.scm
> @@ -523,3 +523,38 @@ (define-public mcg
> album-experience.")
> (home-page "https://gitlab.com/coderkun/mcg")
> (license license:gpl3+)))
> +
> +(define-public mpdevil
> + (package
> + (name "mpdevil")
> + (version "1.7.0")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/SoongNoonien/mpdevil")
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "1va8fqlz8qb68gvacnzmp4asnipi11316n1cv2wb41sml9d7v00j"))))
> + (build-system meson-build-system)
> + (arguments
> + (list
> + #:glib-or-gtk? #t
> + #:phases
> + #~(modify-phases %standard-phases
> + (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let ((prog (string-append (assoc-ref outputs "out")
> + "/bin/mpdevil")))
> + (wrap-program prog
> + `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
> + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
The linter says:
"bash-minimal" should be in 'inputs' when 'wrap-program' is used
> + (inputs (list gtk+ python python-mpd2 python-pygobject))
> + (native-inputs (list `(,glib "bin")))
> + (home-page "https://github.com/SoongNoonien/mpdevil")
> + (synopsis "Music browser for the MPD")
> + (description "mpdevil is a music browser for the Music Player Daemon (MPD),
> +which is focused on playing local music without the need of managing playlists.
> +Instead of maintaining a client side database of your music library,
> +mpdevil loads all tags and covers on demand.")
> + (license license:gpl3+)))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#57671] [PATCH] gnu: Add mpdevil.
2022-09-08 8:48 [bug#57671] [PATCH] gnu: Add mpdevil Liliana Marie Prikler
2022-09-10 9:50 ` Christopher Baines
@ 2022-09-10 9:57 ` ( via Guix-patches via
1 sibling, 0 replies; 4+ messages in thread
From: ( via Guix-patches via @ 2022-09-10 9:57 UTC (permalink / raw)
To: Liliana Marie Prikler, 57671
Hey Liliana,
On Thu Sep 8, 2022 at 9:48 AM BST, Liliana Marie Prikler wrote:
> + (arguments
> + (list
> + #:glib-or-gtk? #t
Maybe move these keywords like this:
(list #:glib-or-gtk? #t
#:phases
#~(...))
This generally seems to be the standard.
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let ((prog (string-append (assoc-ref outputs "out")
> + "/bin/mpdevil")))
`(assoc-ref outputs "out")' -> `#$output'
`(lambda* (#:key outputs #:allow-other-keys)' -> `(lambda _'
> + (native-inputs (list `(,glib "bin")))
``(,glib "bin")' -> `(list glib "bin")'
> + (description "mpdevil is a music browser for the Music Player Daemon (MPD),
This:
(description
"...")
seems to be the norm for descriptions.
-- (
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#57671: [PATCH] gnu: Add mpdevil.
2022-09-10 9:50 ` Christopher Baines
@ 2022-09-10 15:25 ` Liliana Marie Prikler
0 siblings, 0 replies; 4+ messages in thread
From: Liliana Marie Prikler @ 2022-09-10 15:25 UTC (permalink / raw)
To: Christopher Baines; +Cc: 57671-done
Am Samstag, dem 10.09.2022 um 10:50 +0100 schrieb Christopher Baines:
> The linter says:
>
> "bash-minimal" should be in 'inputs' when 'wrap-program' is used
Fixed and pushed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-10 15:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-08 8:48 [bug#57671] [PATCH] gnu: Add mpdevil Liliana Marie Prikler
2022-09-10 9:50 ` Christopher Baines
2022-09-10 15:25 ` bug#57671: " Liliana Marie Prikler
2022-09-10 9:57 ` [bug#57671] " ( via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.