[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/16: gnu: mpdris2: Remove input labels and add inputs.
From: |
guix-commits |
Subject: |
14/16: gnu: mpdris2: Remove input labels and add inputs. |
Date: |
Thu, 23 Feb 2023 09:28:25 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit a694ef48023b83bd2938a62c1830aee6cc2513b4
Author: Simon Streit <simon@netpanic.org>
AuthorDate: Fri Jan 20 20:07:09 2023 +0100
gnu: mpdris2: Remove input labels and add inputs.
* gnu/packages/mpd.scm (mpdris2)[arguments]: Use G-expressions. Remove
trailing #T from phase.
[inputs]: Remove labels. Add BASH-MINIMAL and
PYTHON-MUTAGEN.
[native-inputs]: Remove labels.
[description]: Use complete sentence.
---
gnu/packages/mpd.scm | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 74f43ecbb3..5288aeda3e 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2019 Evan Straw <evan.straw99@gmail.com>
;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
-;;; Copyright © 2020–2022 Simon Streit <simon@netpanic.org>
+;;; Copyright © 2020–2023 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021 Noah Evans <noah@nevans.me>
;;;
;;; This file is part of GNU Guix.
@@ -444,27 +444,30 @@ other MPD frontends.")
(build-system gnu-build-system)
;; Manually wrap the binary, because we’re not using python-build-system.
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (python-path (getenv "GUIX_PYTHONPATH")))
- (wrap-program (string-append out "/bin/mpDris2")
- `("GUIX_PYTHONPATH" ":" prefix (,python-path)))
- #t))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((python-path (getenv "GUIX_PYTHONPATH")))
+ (wrap-program (string-append #$output "/bin/mpDris2")
+ `("GUIX_PYTHONPATH" ":" prefix (,python-path)))))))))
(inputs
- (list python-mpd2 python-dbus python-pygobject python)) ;
Sets GUIX_PYTHONPATH.
- ;; For bootstrapping.
+ (list bash-minimal
+ python
+ python-dbus
+ python-mpd2
+ python-mutagen
+ python-pygobject))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("gettext" ,gettext-minimal)
- ("which" ,which)
- ("intltool" ,intltool)))
+ (list autoconf
+ automake
+ gettext-minimal
+ intltool
+ which))
(synopsis "MPRIS V2.1 support for MPD")
- (description "Client for the Music Player Daemon providing MPRIS 2
-support")
+ (description "mpDris2 is a client for the Music Player Daemon providing
+MPRIS 2 support.")
(home-page "https://github.com/eonpatapon/mpDris2")
(license license:gpl3+)))
- 03/16: gnu: emacs-modus-themes: Update to 4.1.0., (continued)
- 03/16: gnu: emacs-modus-themes: Update to 4.1.0., guix-commits, 2023/02/23
- 07/16: gnu: texlive-latex-fancyvrb: Add needed propagated-inputs., guix-commits, 2023/02/23
- 08/16: gnu: Add texlive-fvextra., guix-commits, 2023/02/23
- 11/16: gnu: Add emacs-calc-currency., guix-commits, 2023/02/23
- 13/16: gnu: Add emacs-ob-go., guix-commits, 2023/02/23
- 05/16: gnu: texlive-latex-ifplatform: Add needed propagated-inputs., guix-commits, 2023/02/23
- 06/16: gnu: texlive-mdframed: Add needed propagated-inputs., guix-commits, 2023/02/23
- 09/16: gnu: Add texlive-minted., guix-commits, 2023/02/23
- 10/16: gnu: Add emacs-jsdoc., guix-commits, 2023/02/23
- 12/16: gnu: Add emacs-org-recur., guix-commits, 2023/02/23
- 14/16: gnu: mpdris2: Remove input labels and add inputs.,
guix-commits <=
- 15/16: gnu: Add x11-ssh-askpass., guix-commits, 2023/02/23
- 16/16: gnu: Add staticsite., guix-commits, 2023/02/23