GNU bug report logs -
#38925
[PATCH] Add Tuxmath
Previous Next
Full log
View this message in rfc822 format
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> 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.
This bug report was last modified 5 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.