[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: Add python-wand.
From: |
guix-commits |
Subject: |
09/09: gnu: Add python-wand. |
Date: |
Wed, 10 Nov 2021 18:24:57 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 5592058e9d72e1960bfde52dc9744f51518ebb74
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Thu Oct 28 05:01:56 2021 +0000
gnu: Add python-wand.
* gnu/packages/python-xyz.scm (python-wand): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
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 f330469..a01a14f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1553,6 +1553,35 @@ and simplified. It supports SPDX license expressions as
well as other naming
conventions and aliases in the same expression.")
(license license:gpl2+)))
+(define-public python-wand
+ (package
+ (name "python-wand")
+ (version "0.6.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Wand" version))
+ (sha256
+ (base32 "1nxn7zvbnfgk4kkxajbzglcjpbgr84ilhnxm990nifjxqb61ph7b"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'find-magickwand
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "MAGICK_HOME" (assoc-ref inputs "imagemagick"))
+ (setenv "WAND_MAGICK_LIBRARY_SUFFIX" ".Q16"))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (inputs
+ `(("imagemagick" ,imagemagick)))
+ (home-page "https://docs.wand-py.org/")
+ (synopsis "MagickWand API binding for Python")
+ (description
+ "Wand is a ctypes-based binding for the C API of ImageMagick's MagickWand
+library.")
+ (license license:expat)))
+
(define-public python-lockfile
(package
(name "python-lockfile")
- branch master updated (650dcc1 -> 5592058), guix-commits, 2021/11/10
- 01/09: import: pypi: Allow imports of a specific version., guix-commits, 2021/11/10
- 08/09: gnu: poetry: Update to 1.1.11., guix-commits, 2021/11/10
- 04/09: import: print: Correctly handle URI lists., guix-commits, 2021/11/10
- 07/09: gnu: python-poetry-core: Update to 1.0.7., guix-commits, 2021/11/10
- 09/09: gnu: Add python-wand.,
guix-commits <=
- 03/09: import: print: Properly render packages with origins as inputs., guix-commits, 2021/11/10
- 02/09: import: cran: Allow imports of a specific version., guix-commits, 2021/11/10
- 05/09: import: print: Handle patches that are origins., guix-commits, 2021/11/10
- 06/09: import: print: Replace packages and origins in 'arguments'., guix-commits, 2021/11/10