mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: nml: Fix for newer pillow version.
* gnu/packages/game-development.scm (nml)[arguments]: Add a phase to fix for newer pillow.
This commit is contained in:
parent
8ba31e8bd1
commit
e877f4d012
1 changed files with 10 additions and 0 deletions
|
@ -314,6 +314,16 @@ (define-public nml
|
|||
(base32
|
||||
"1pmvvm3sgnpngfa7884mqhq3fwdjh9sr0ca07ypnidcg0y341w53"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'fix-pillow
|
||||
(lambda _
|
||||
;; pillow's version is not in PIL.Image.VERSION anymore
|
||||
(substitute* "nml/version_info.py"
|
||||
(("from PIL import Image") "import PIL")
|
||||
(("Image.VERSION") "PIL.__version__"))
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("python-pillow" ,python-pillow)
|
||||
("python-ply" ,python-ply)))
|
||||
|
|
Loading…
Reference in a new issue