|
From: | Nicolas Goaziou |
Subject: | [bug#38925] [PATCH] Add Tuxmath |
Date: | Sun, 05 Jan 2020 01:52:30 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes: > +(define-public tuxmath > + (package > + (name "tuxmath") > + (version "2.0.3") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/tux4kids/tuxmath") > + (commit (string-append "upstream/" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1f1pz83w6d3mbik2h6xavfxmk5apxlngxbkh80x0m55lhniwkdxv")) > + (modules '((guix build utils))) > + ;; Unbundle fonts. > + (snippet > + `(begin > + (for-each delete-file (find-files "data/fonts" "\\.ttf$")) > + #t)))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ;no test > + #:phases > + (modify-phases %standard-phases > + (add-after 'set-paths 'set-sdl-paths > + (lambda* (#:key inputs #:allow-other-keys) > + (setenv "CPATH" > + (string-append (assoc-ref inputs "sdl") > + "/include/SDL:" > + (or (getenv "CPATH") ""))))) Added missing #t here.
[Prev in Thread] | Current Thread | [Next in Thread] |