summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAdam Faiz <adam.faiz@disroot.org>2026-02-15 15:04:17 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-15 15:06:19 +0100
commit1e61d778c67b6ea8df3088b54c5e95c32d4da270 (patch)
tree9b1defbf53be41747fec10a221ea300cf649f84a /gnu
parent5e9684210836043173bbfd8a1b7bc75f5b2c119d (diff)
gnu: Add dialogc.
* gnu/packages/game-development.scm (dialogc): New variable. Change-Id: Idf34af88e164e4f3fa3e0b0d627cf0deb7f3e7fb Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/game-development.scm47
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 1d1ce8c474e..f589fd9b6e8 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -323,6 +323,53 @@ conversions (for example, from PPM to Doom picture format). In addition,
323DeuTex has functions such as merging wads, etc.") 323DeuTex has functions such as merging wads, etc.")
324 (license license:gpl2+))) 324 (license license:gpl2+)))
325 325
326(define-public dialogc
327 (let ((commit "68476f9f3b1ca2db15615e508837ca721e0759ab")
328 (revision "0"))
329 (package
330 (name "dialogc")
331 (version (git-version "1a-01" revision commit))
332 (source
333 (origin
334 (method git-fetch)
335 (uri (git-reference
336 (url "https://github.com/Dialog-IF/dialog")
337 (commit commit)))
338 (file-name (git-file-name name version))
339 (sha256
340 (base32 "1gm6fb86chq74fh2llmmgji6fwylk0xd53fmij6l9x348nvw1bkn"))))
341 (build-system gnu-build-system)
342 (native-inputs (list frotz-dumb-terminal perl python))
343 (arguments
344 (list
345 #:test-target "test"
346 #:parallel-tests? #f
347 #:phases
348 #~(modify-phases %standard-phases
349 (delete 'configure)
350 (add-before 'build 'set-install-prefix
351 (lambda _
352 (setenv "PREFIX" #$output)))
353 (replace 'build
354 (lambda _
355 (with-directory-excursion "src"
356 (substitute* "Makefile"
357 (("cp dialogc" all)
358 (string-append "install -d ${PREFIX}/bin\n\t" all))
359 (("/usr/local") "${PREFIX}"))
360 (invoke "make"))))
361 (replace 'install
362 (lambda _
363 (let ((bin (string-append #$output "/bin")))
364 (install-file "src/dialogc" bin)
365 (install-file "src/dgdebug" bin)))))))
366 (synopsis "Dialog interactive fiction compiler")
367 (description
368 "Dialog is a domain-specific language for creating works
369of interactive fiction. It is heavily inspired by Inform 7 and Prolog.")
370 (home-page "https://github.com/Dialog-IF/dialog")
371 (license license:bsd-2))))
372
326(define-public go-codeberg-org-anaseto-gruid-sdl 373(define-public go-codeberg-org-anaseto-gruid-sdl
327 (package 374 (package
328 (name "go-codeberg-org-anaseto-gruid-sdl") 375 (name "go-codeberg-org-anaseto-gruid-sdl")