diff options
| author | Evgeny Pisemsky <mail@pisemsky.site> | 2026-03-27 10:00:15 +0300 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-28 13:56:26 +0000 |
| commit | 635994b0232d3eb5af292f7f621a4d0a2e5f653b (patch) | |
| tree | cc9ec61d3ab2e06675b263687cdee18b9188a64a /gnu | |
| parent | aa7e9d4b6e6057f6c53e9f8e7833b3c2989d5be7 (diff) | |
gnu: Add mopidy.
* gnu/packages/music.scm (mopidy): New variable.
Merges: https://codeberg.org/guix/guix/pulls/7459
Change-Id: I189162a135ab8014dd5462ea6adbec9d1761ca1d
Reviewed-by: Giacomo Leidi <therewasa@fishinthecalculator.me>
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/music.scm | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 05c62ce8d43..acd5a29acb1 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -63,6 +63,7 @@ ;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2025 Junker <dk@junkeria.club> ;;; Copyright © 2026 Ivan Vilata i Balaguer <ivan@selidor.net> +;;; Copyright © 2026 Evgeny Pisemsky <mail@pisemsky.site> ;;; ;;; This file is part of GNU Guix. ;;; @@ -501,6 +502,58 @@ score, keyboard, guitar, drum and controller views.") enables iPod support in music players such as Clementine.") (license license:lgpl2.1+))) +(define-public mopidy + (package + (name "mopidy") + (version "3.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mopidy/mopidy") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0fdnsbb13xqxwbfqzmgd1jxyqzfnifyc968rlv8syhnsc6zmmqfq")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; This test is not compatible with our build environment. + #~(list "-k" "not test_help_has_mopidy_options") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-env + (lambda _ + ;; Fix "Fontconfig error: No writable cache directories" + (setenv "HOME" "/tmp"))) + (add-after 'wrap 'wrap-gstreamer + (lambda _ + (wrap-program (string-append #$output "/bin/mopidy") + `("GI_TYPELIB_PATH" = + (,(getenv "GI_TYPELIB_PATH"))) + `("GST_PLUGIN_SYSTEM_PATH" = + (,(getenv "GST_PLUGIN_SYSTEM_PATH"))))))))) + (native-inputs + (list python-pytest + python-responses + python-setuptools)) + (inputs + (list bash-minimal + gst-libav + python-gst + python-pygobject + python-pykka + python-requests + python-tornado)) + (home-page "https://mopidy.com") + (synopsis "Extensible music server") + (description + "Mopidy is an extensible music server written in Python. It plays music +from local disk or cloud services, and can be controlled using a variety of +MPD and web clients.") + (license license:asl2.0))) + (define-public clementine ;; Clementine has one automatic release per commit at ;; <https://github.com/clementine-player/Clementine/releases>. |
