mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-08 12:20:41 -05:00
gnu: python-kivy: Add missing dependencies.
* gnu/packages/python-xyz.scm (python-kivy)[arguments]: Add 'set-home' phase. [inputs]: Add PYTHON-DOCUTILS, PYTHON-KIVY-GARDEN, and PYTHON-PYGMENTS. [synopsis, description]: Tweak.
This commit is contained in:
parent
7e40d0ee90
commit
f4d4c40500
1 changed files with 12 additions and 6 deletions
|
@ -16702,7 +16702,11 @@ (define-public python-kivy
|
||||||
(add-after 'patch-generated-file-shebangs 'set-sdl-paths
|
(add-after 'patch-generated-file-shebangs 'set-sdl-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(setenv "KIVY_SDL2_PATH"
|
(setenv "KIVY_SDL2_PATH"
|
||||||
(search-input-directory inputs "/include/SDL2")))))))
|
(search-input-directory inputs "/include/SDL2"))))
|
||||||
|
(add-before 'sanity-check 'set-home
|
||||||
|
(lambda _
|
||||||
|
;; 'kivy/__init__.py' wants to create $HOME/.kivy.
|
||||||
|
(setenv "HOME" (getcwd)))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("python-cython" ,python-cython)))
|
("python-cython" ,python-cython)))
|
||||||
|
@ -16710,13 +16714,15 @@ (define-public python-kivy
|
||||||
`(("gstreamer" ,gstreamer)
|
`(("gstreamer" ,gstreamer)
|
||||||
("mesa" ,mesa)
|
("mesa" ,mesa)
|
||||||
("sdl-union"
|
("sdl-union"
|
||||||
,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))))
|
,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
|
||||||
|
("python-docutils" ,python-docutils)
|
||||||
|
("python-kivy-garden" ,python-kivy-garden)
|
||||||
|
("python-pygments" ,python-pygments)))
|
||||||
(home-page "https://kivy.org")
|
(home-page "https://kivy.org")
|
||||||
(synopsis
|
(synopsis "Multitouch application framework")
|
||||||
"Multitouch application framework")
|
|
||||||
(description
|
(description
|
||||||
"A software library for rapid development of
|
"Kivy is a software library for rapid development of hardware-accelerated
|
||||||
hardware-accelerated multitouch applications.")
|
multitouch applications.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-kivy
|
(define-public python2-kivy
|
||||||
|
|
Loading…
Reference in a new issue