[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/244: gnu: Add python-imageio-ffmpeg.
From: |
guix-commits |
Subject: |
05/244: gnu: Add python-imageio-ffmpeg. |
Date: |
Wed, 12 Apr 2023 08:47:11 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit 1bb45f61ed9aa9462400280ef5f384658d12754f
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Mar 18 07:49:23 2023 +0100
gnu: Add python-imageio-ffmpeg.
* gnu/packages/python-xyz.scm (python-imageio-ffmpeg): New variable.
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 01d478b6aa..3701ed5546 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8165,6 +8165,35 @@ converting, and viewing many of the proprietary file
formats used to store
experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
(license license:bsd-3)))
+(define-public python-imageio-ffmpeg
+ (package
+ (name "python-imageio-ffmpeg")
+ (version "0.4.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "imageio-ffmpeg" version))
+ (sha256
+ (base32
+ "1a8as5c42s8yl79gc2nhj6vvkwr81p5ibxp5m1zhn1zy22nhbapx"))))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'hardcode-ffmpeg
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "imageio_ffmpeg/_utils.py"
+ (("os\\.getenv\\(\"IMAGEIO_FFMPEG_EXE\".*\\)" all)
+ (string-append "(" all " or \""
+ (search-input-file inputs "bin/ffmpeg")
+ "\")"))))))))
+ (inputs (list ffmpeg-4))
+ (build-system python-build-system)
+ (home-page "https://github.com/imageio/imageio-ffmpeg")
+ (synopsis "FFMPEG wrapper for Python")
+ (description "This package provides an FFMPEG wrapper for working with video
+files. It implements generator functions for reading and writing data to and
+from FFMPEG, reliably terminating the process when done.")
+ (license license:bsd-2)))
+
(define-public python-imageio
(package
(name "python-imageio")
- branch staging updated (c8d63ecf1d -> 19d7ccb6ce), guix-commits, 2023/04/12
- 02/244: gnu: Add mecab-ipadic., guix-commits, 2023/04/12
- 04/244: gnu: emacs-slime: Add missing propagated input., guix-commits, 2023/04/12
- 06/244: gnu: python-imageio: Update to 2.26.0., guix-commits, 2023/04/12
- 03/244: gnu: Add mecab-unidic., guix-commits, 2023/04/12
- 05/244: gnu: Add python-imageio-ffmpeg.,
guix-commits <=
- 08/244: gnu: Add python-clingraph., guix-commits, 2023/04/12
- 11/244: services: mpd: Fix unintentional API breakage for mixer-type field., guix-commits, 2023/04/12
- 01/244: gnu: Add mecab., guix-commits, 2023/04/12
- 07/244: gnu: Separate potassco packages into their own module., guix-commits, 2023/04/12
- 09/244: services: configuration: Add user-defined sanitizer support., guix-commits, 2023/04/12
- 13/244: services: mympd: Use records for user and group fields., guix-commits, 2023/04/12
- 16/244: gnu: Add ruby-unicode-plot., guix-commits, 2023/04/12
- 18/244: gnu: Add nntpit., guix-commits, 2023/04/12
- 26/244: gnu: emacs-ement: Update to 0.8.1., guix-commits, 2023/04/12
- 15/244: gnu: Add ruby-enumerable-statistics., guix-commits, 2023/04/12