1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 20:12:11 +02:00

gnu: bambam: Remove wrap-binary phase.

Functionality provided already by python-build-system.

* gnu/packages/games.scm (bambam)[arguments]: Remove 'wrap-binary phase.
[synopsis]: Capitalize first word.
This commit is contained in:
Eric Bavier
2016-08-31 12:16:19 -05:00
parent 83ab1a812f
commit 46a0622481
+2 -10
View File
@@ -2798,8 +2798,7 @@ programmers may also add their own favorite language.")
(add-before 'install 'patch-data-dir-location
(lambda _
(substitute* "bambam.py"
(("'data'")
"'../share/bambam/data'"))
(("'data'") "'../share/bambam/data'"))
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
@@ -2810,18 +2809,11 @@ programmers may also add their own favorite language.")
(copy-file "bambam.py" (string-append bin "/bambam"))
(install-file "bambam.6" (string-append share "/man/man6"))
(copy-recursively "data" (string-append share "/bambam/data")))
#t))
(add-after 'install 'wrap-binary
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin/bambam")))
(wrap-program bin
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))))
#t)))))
(inputs
`(("python-pygame" ,python-pygame)))
(home-page "https://github.com/porridge/bambam")
(synopsis "keyboard mashing and doodling game for babies")
(synopsis "Keyboard mashing and doodling game for babies")
(description "Bambam is a simple baby keyboard (and gamepad) masher
application that locks the keyboard and mouse and instead displays bright
colors, pictures, and sounds.")