diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2021-12-19 12:56:59 +0100 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2022-01-15 21:35:05 +0100 |
commit | e0ba031ab27478ebfd683487d179759f45a89f0d (patch) | |
tree | f5de1396a574164ce55a64972633623c10119286 /gnu/packages/python-xyz.scm | |
parent | 29fc4a7daeae5d4d2c5385dbf6ae05fcbf302eb0 (diff) | |
download | guix-patches-e0ba031ab27478ebfd683487d179759f45a89f0d.tar guix-patches-e0ba031ab27478ebfd683487d179759f45a89f0d.tar.gz |
gnu: Add python-piexif.
* gnu/packages/python-xyz.scm (python-piexif): New variable.
* gnu/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch: New file.
* gnu/packages/python-xyz.scm (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 404ad8b9bc..2d994875e9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28319,3 +28319,25 @@ keyboard-friendly package.") "This package auto-generates API documentation from Python projects already existing modules and objects docstrings.") (license license:agpl3+))) + +(define-public python-piexif + (package + (name "python-piexif") + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "piexif" version ".zip")) + (sha256 + (base32 "06sz58q4mrw472p8fbnq7wsj8zpi5js5r8phm2hiwfmz0v33bjw3")) + (patches + (search-patches "python-piexif-fix-tests-with-pillow-7.2.patch")))) + (build-system python-build-system) + (native-inputs + (list unzip python-pillow)) + (home-page "https://github.com/hMatoba/Piexif") + (synopsis "Simplify exif manipulations with Python") + (description "Piexif simplifies interacting with EXIF data in +Python. It includes the tools necessary for extracting, creating, +manipulating, converting and writing EXIF data to JPEG, WebP and TIFF files.") + (license license:expat))) |