Add emojicode (wip)
more/packages/games.scm
26 | 26 | #:use-module ((guix licenses) #:prefix license:) | |
27 | 27 | #:use-module (gnu packages) | |
28 | 28 | #:use-module (gnu packages audio) | |
29 | + | #:use-module (gnu packages base) | |
29 | 30 | #:use-module (gnu packages boost) | |
30 | 31 | #:use-module (gnu packages check) | |
31 | 32 | #:use-module (gnu packages compression) | |
… | |||
35 | 36 | #:use-module (gnu packages fontutils) | |
36 | 37 | #:use-module (gnu packages fribidi) | |
37 | 38 | #:use-module (gnu packages games) | |
39 | + | #:use-module (gnu packages gcc) | |
38 | 40 | #:use-module (gnu packages gl) | |
39 | 41 | #:use-module (gnu packages graphics) | |
40 | 42 | #:use-module (gnu packages gtk) | |
41 | 43 | #:use-module (gnu packages image) | |
42 | 44 | #:use-module (gnu packages lua) | |
43 | 45 | #:use-module (more packages lua) | |
46 | + | #:use-module (gnu packages llvm) | |
44 | 47 | #:use-module (gnu packages ncurses) | |
45 | 48 | #:use-module (gnu packages pcre) | |
46 | 49 | #:use-module (gnu packages pkg-config) | |
… | |||
255 | 258 | (synopsis "") | |
256 | 259 | (description "") | |
257 | 260 | (license license:gpl2))) | |
261 | + | ||
262 | + | (define-public emojicode | |
263 | + | (package | |
264 | + | (name "emojicode") | |
265 | + | (version "0.5.4") | |
266 | + | (source (origin | |
267 | + | (method url-fetch) | |
268 | + | (uri (string-append "https://github.com/emojicode/emojicode/archive/v" | |
269 | + | version ".tar.gz")) | |
270 | + | (sha256 | |
271 | + | (base32 | |
272 | + | "1l3f4i0vh09x8dz5fl1f4mb8wlgmi0j2bhjkfzrnmbgp09hi8wsl")))) | |
273 | + | (build-system cmake-build-system) | |
274 | + | (arguments | |
275 | + | `(#:phases | |
276 | + | (modify-phases %standard-phases | |
277 | + | (add-before 'configure 'fixgcc7 | |
278 | + | (lambda _ | |
279 | + | (display (getenv "CXX_INCLUDE_PATH")) | |
280 | + | (setenv "CPATH" (getenv "C_INCLUDE_PATH")) | |
281 | + | (unsetenv "C_INCLUDE_PATH") | |
282 | + | (setenv "CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES" (getenv "CPATH")) | |
283 | + | (setenv "CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES" (getenv "CPATH"))))))) | |
284 | + | (inputs | |
285 | + | `(("llvm" ,llvm))) | |
286 | + | (native-inputs | |
287 | + | `(("gcc" ,gcc-7))) | |
288 | + | (home-page "http://www.emojicode.org") | |
289 | + | (synopsis "World???s only programming language that???s bursting with emojis") | |
290 | + | (description "Emojicode is the only programming language consisting of | |
291 | + | emojis. Emojicode is a straightforward language to learn, whatever background | |
292 | + | you have.") | |
293 | + | (license license:artistic2.0))) |