[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: Add python-mediapy.
|
From: |
guix-commits |
|
Subject: |
02/06: gnu: Add python-mediapy. |
|
Date: |
Fri, 19 Jan 2024 18:34:15 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit d084e9d0368078223886c69377370a12cb8d1fd4
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jan 19 15:05:07 2024 +0100
gnu: Add python-mediapy.
* gnu/packages/python-xyz.scm (python-mediapy): New variable.
Change-Id: I2e55c018670053c662ae2d896feefab3b505b139
---
gnu/packages/python-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index aebbae1521..7f9955cffd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4075,6 +4075,46 @@ lossless but can be tweaked for more aggressive
cleaning.")
after Andy Lester’s Perl module WWW::Mechanize.")
(license license:bsd-3)))
+(define-public python-mediapy
+ (package
+ (name "python-mediapy")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/mediapy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "14hmwib0dmy9h1w7allwsp0cgrfdv8f2sm9qlvy65yxai68v6vnl"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'fix-references
+ (lambda _
+ (substitute* "mediapy_test.py"
+ (("'/bin/bash")
+ (string-append "'" (which "bash")))))))))
+ (inputs (list ffmpeg-5))
+ (propagated-inputs (list python-absl-py
+ python-ipython
+ python-matplotlib
+ python-numpy
+ python-pillow))
+ (native-inputs
+ (list python-flit-core
+ python-pylint
+ python-pytest
+ python-pytest-xdist))
+ (home-page "https://github.com/google/mediapy")
+ (synopsis "Read/write/show images and videos in an IPython notebook")
+ (description "This Python library makes it easy to display images and
+videos in a notebook.")
+ (license license:asl2.0)))
+
(define-public python-simpleaudio
(package
(name "python-simpleaudio")
- branch master updated (f7c0ccb186 -> eb1d80ac77), guix-commits, 2024/01/19
- 01/06: gnu: Add r-flames., guix-commits, 2024/01/19
- 04/06: gnu: Add r-modstrings., guix-commits, 2024/01/19
- 06/06: gnu: Add r-trnadbimport., guix-commits, 2024/01/19
- 05/06: gnu: Add r-trna., guix-commits, 2024/01/19
- 02/06: gnu: Add python-mediapy.,
guix-commits <=
- 03/06: gnu: Add r-structstrings., guix-commits, 2024/01/19