From 2c5be45f3a3b1a60b3f5b2e02bc7f2f71b461c3b Mon Sep 17 00:00:00 2001 From: Ian Eure Date: Sun, 25 Feb 2024 14:20:30 -0800 Subject: gnu: Add python-mpv-jsonipc. * gnu/packages/python-xyz.scm (python-mpv-jsonipc): New variable. Change-Id: Iec7679213d9b9e8e5cbf01a30838e27e71704e54 Signed-off-by: Andreas Enge --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fc6e997b6c..55fd4cdad2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -147,6 +147,7 @@ ;;; Copyright © 2023 Attila Lendvai ;;; Copyright © 2023, 2024 Troy Figiel ;;; Copyright © 2024 Timothee Mathieu +;;; Copyright © 2024 Ian Eure ;;; ;;; This file is part of GNU Guix. ;;; @@ -25936,6 +25937,23 @@ cases, generating additional test cases, testing for your code, and submitting it.") (license license:expat))) +(define-public python-mpv-jsonipc + (package + (name "python-mpv-jsonipc") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-mpv-jsonipc" version)) + (sha256 + (base32 "0ymdwrx544a6gn6wm9dixpgzbfrbpxvcj5ys7m41cgb4lvpvx691")))) + (build-system pyproject-build-system) + (home-page "https://github.com/iwalton3/python-mpv-jsonipc") + (synopsis "Python API to control MPV using JSON IPC") + (description "Python MPV JSONIPC implements an interface similar to +python-mpv, but it uses the JSON IPC protocol instead of the C API.") + (license license:asl2.0))) + (define-public python-parso (package (name "python-parso") -- cgit v1.2.3 From 34d7fa58edce071292050a3553081bcd3b5e180e Mon Sep 17 00:00:00 2001 From: Ian Eure Date: Sun, 25 Feb 2024 14:20:31 -0800 Subject: gnu: Add python-jellyfin-apiclient. * gnu/packages/python-xyz.scm (python-jellyfin-apiclient): New variable. Change-Id: If84546b14d380a3a10af63d4f41711125298487a Signed-off-by: Andreas Enge --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 55fd4cdad2..b9c9b9da16 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25954,6 +25954,26 @@ submitting it.") python-mpv, but it uses the JSON IPC protocol instead of the C API.") (license license:asl2.0))) +(define-public python-jellyfin-apiclient + (package + (name "python-jellyfin-apiclient") + (version "1.9.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jellyfin-apiclient-python" version)) + (sha256 + (base32 "0r67cp9nizvn3cbslgi30zpd3mw4a6zal0ygik3jv5lni1xdkk5w")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-certifi python-requests python-urllib3 + python-websocket-client)) + (home-page "https://github.com/jellyfin/jellyfin-apiclient-python") + (synopsis "Python API client for Jellyfin") + (description "The Jellyfin ApiClient Python package makes it possible +to use the Jellyfin API from Python. It was extracted from the Jellyfin +Kodi plugin.") + (license license:gpl3+))) + (define-public python-parso (package (name "python-parso") -- cgit v1.2.3 From 42b228513de8eacbdaab329110c5f0c19ae4b16b Mon Sep 17 00:00:00 2001 From: Ian Eure Date: Sun, 25 Feb 2024 14:20:32 -0800 Subject: gnu: Add python-pystray. * gnu/packages/python-xyz.scm (python-pystray): New variable. Change-Id: If10777c9ec91b549b9937b4825565223786a75cb Signed-off-by: Andreas Enge --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b9c9b9da16..07ca8a9723 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31857,6 +31857,41 @@ handling those variations.") Qt applications.") (license license:expat))) +(define-public python-pystray + (package + (name "python-pystray") + (version "0.19.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moses-palmer/pystray") + (commit "1907f8681d6d421517c63d94f425f9cdd74d0034"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vj6c8s7rbc7xc4bi5brx5629ls1ri9prcw9290v85hagilmp609")))) + (build-system python-build-system) + (arguments + (list + ;; The test suite requires user interaction, there are no automated + ;; tests. + #:tests? #false + #:phases #~(modify-phases %standard-phases + (add-before 'sanity-check 'use-dummy-backend + (lambda _ + ;; Without setting this, pystray tries to connect to + ;; X11 on import. + (setenv "PYSTRAY_BACKEND" "dummy")))))) + (native-inputs (list python-sphinx)) + (propagated-inputs (list python-pillow python-six python-xlib)) + (home-page "https://github.com/moses-palmer/pystray") + (synopsis "Create a system tray icon") + (description "This library allows you to create a system tray icon. +It makes it possible to specify an icon, a title and a callback for when +the icon is activated. The icon and title can be changed after the icon +has been created, and the visibility of the icon can be toggled.") + (license license:lgpl3+))) + (define-public python-bitstring (package (name "python-bitstring") -- cgit v1.2.3