--- Begin Message ---
Subject: |
[PATCH] gnu: Add mpdevil. |
Date: |
Thu, 8 Sep 2022 10:48:25 +0200 |
* 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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#57671] [PATCH] gnu: Add mpdevil. |
Date: |
Sat, 10 Sep 2022 17:25:07 +0200 |
User-agent: |
Evolution 3.42.1 |
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.
--- End Message ---