Skip to content
Snippets Groups Projects
Unverified Commit e877f4d0 authored by Julien Lepiller's avatar Julien Lepiller
Browse files

gnu: nml: Fix for newer pillow version.

* gnu/packages/game-development.scm (nml)[arguments]: Add a phase to fix
for newer pillow.
parent 8ba31e8b
No related branches found
No related tags found
No related merge requests found
...@@ -314,6 +314,16 @@ (define-public nml ...@@ -314,6 +314,16 @@ (define-public nml
(base32 (base32
"1pmvvm3sgnpngfa7884mqhq3fwdjh9sr0ca07ypnidcg0y341w53")))) "1pmvvm3sgnpngfa7884mqhq3fwdjh9sr0ca07ypnidcg0y341w53"))))
(build-system python-build-system) (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 (propagated-inputs
`(("python-pillow" ,python-pillow) `(("python-pillow" ,python-pillow)
("python-ply" ,python-ply))) ("python-ply" ,python-ply)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment