mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add python-wand.
* gnu/packages/python-xyz.scm (python-wand): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
800afd26f4
commit
5592058e9d
1 changed files with 29 additions and 0 deletions
|
@ -1553,6 +1553,35 @@ (define-public python-license-expression
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue