[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/32: gnu: Add python-imageio-ffmpeg.
From: |
guix-commits |
Subject: |
01/32: gnu: Add python-imageio-ffmpeg. |
Date: |
Wed, 16 Feb 2022 11:39:27 -0500 (EST) |
nckx pushed a commit to branch wip-python-mne
in repository guix.
commit 0652026c6bc7edae47738a6beaacea8740182a09
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Thu Jan 20 15:39:12 2022 +0100
gnu: Add python-imageio-ffmpeg.
* gnu/packages/python-xyz.scm (python-imageio-ffmpeg): New variable.
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5c003e3c1a..57181f7a7d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25466,6 +25466,38 @@ usable as a configuration language. This Python
package implements parsing and
dumping of JSON5 data structures.")
(license license:asl2.0)))
+(define-public python-imageio-ffmpeg
+ (package
+ (name "python-imageio-ffmpeg")
+ (version "0.4.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "imageio-ffmpeg" version))
+ (sha256
+ (base32 "0ff14079izsyxwf6ki68k9a7w5krjlal7lwqvzg2bbddl92l5spj"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ;; Most tests download data (use the git url)
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-ffmpeg-exe
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; There are different strategies to find ffmpeg, we
+ ;; only fix the last resort, "system ffmpeg command"
+ (substitute* "imageio_ffmpeg/_utils.py"
+ (("exe = \"ffmpeg\"")
+ (format #f "exe = ~s"
+ (search-input-file
+ inputs "/bin/ffmpeg")))))))))
+ (inputs (list ffmpeg))
+ (home-page "https://github.com/imageio/imageio-ffmpeg")
+ (synopsis "@samp{ffmpeg} wrapper for Python")
+ (description
+ "The purpose of this project is to wrap the @command{ffmpeg} executable
+for working with video files.")
+ (license license:bsd-2)))
+
(define-public python-frozendict
(package
(name "python-frozendict")
- 12/32: gnu: Add a test-less python-pytest-cases., (continued)
- 12/32: gnu: Add a test-less python-pytest-cases., guix-commits, 2022/02/16
- 04/32: gnu: Add python-nibabel., guix-commits, 2022/02/16
- 11/32: gnu: Add a test-less python-pytest-steps., guix-commits, 2022/02/16
- 26/32: gnu: Add python-nilearn., guix-commits, 2022/02/16
- 23/32: gnu: Add python-pyperf., guix-commits, 2022/02/16
- 30/32: gnu: Add python-pyvistaqt., guix-commits, 2022/02/16
- 06/32: gnu: Add python-flake8-array-spacing., guix-commits, 2022/02/16
- 15/32: gnu: Add python-pytest-harvest., guix-commits, 2022/02/16
- 22/32: gnu: Add python-no-version., guix-commits, 2022/02/16
- 25/32: gnu: Add python-scooby., guix-commits, 2022/02/16
- 01/32: gnu: Add python-imageio-ffmpeg.,
guix-commits <=
- 10/32: gnu: Add a test-less python-pytest-harvest., guix-commits, 2022/02/16
- 31/32: gnu: Add python-mffpy., guix-commits, 2022/02/16
- 29/32: gnu: Add python-pytest-memprof., guix-commits, 2022/02/16
- 17/32: gnu: python-pooch: Update to 1.6.0., guix-commits, 2022/02/16
- 19/32: gnu: Add python-pymatreader., guix-commits, 2022/02/16
- 28/32: gnu: Add python-pyvista., guix-commits, 2022/02/16
- 05/32: gnu: Add python-nitime., guix-commits, 2022/02/16