summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2026-02-15 15:23:17 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-15 15:24:55 +0100
commitcfae3b5098f357e7cff81a047d10aeffe9a2b0bb (patch)
tree602d7ba861b7e3b733daa87360ab0edd8744af77 /gnu
parent5b86a12a0e02c60d85bccfdd8f51a217d417ecea (diff)
gnu: dialogc: Commit forgotten changes.
This is a follow-up to commit 1e61d778c67b6ea8df3088b54c5e95c32d4da270 . * gnu/packages/game-development.scm (dialogc): Actually commit changes. Change-Id: I89a3893cd4cf20fb92365c16da2e12e06a65fb97
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/game-development.scm87
1 files changed, 43 insertions, 44 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index f589fd9b6e8..ba68f248419 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -89,6 +89,7 @@
89 #:use-module (gnu packages check) 89 #:use-module (gnu packages check)
90 #:use-module (gnu packages curl) 90 #:use-module (gnu packages curl)
91 #:use-module (gnu packages documentation) 91 #:use-module (gnu packages documentation)
92 #:use-module (gnu packages games)
92 #:use-module (gnu packages golang-build) 93 #:use-module (gnu packages golang-build)
93 #:use-module (gnu packages golang-xyz) 94 #:use-module (gnu packages golang-xyz)
94 #:use-module (gnu packages fltk) 95 #:use-module (gnu packages fltk)
@@ -324,51 +325,49 @@ DeuTex has functions such as merging wads, etc.")
324 (license license:gpl2+))) 325 (license license:gpl2+)))
325 326
326(define-public dialogc 327(define-public dialogc
327 (let ((commit "68476f9f3b1ca2db15615e508837ca721e0759ab") 328 (package
328 (revision "0")) 329 (name "dialogc")
329 (package 330 (version "1a01-1.1.0")
330 (name "dialogc") 331 (source
331 (version (git-version "1a-01" revision commit)) 332 (origin
332 (source 333 (method git-fetch)
333 (origin 334 (uri (git-reference
334 (method git-fetch) 335 (url "https://github.com/Dialog-IF/dialog")
335 (uri (git-reference 336 (commit (string-append "release-" version))))
336 (url "https://github.com/Dialog-IF/dialog") 337 (file-name (git-file-name name version))
337 (commit commit))) 338 (sha256
338 (file-name (git-file-name name version)) 339 (base32 "1hqngza1vhb9796xxyyhswishnl5k0v2phrym3kh8skimaz5a3l8"))))
339 (sha256 340 (build-system gnu-build-system)
340 (base32 "1gm6fb86chq74fh2llmmgji6fwylk0xd53fmij6l9x348nvw1bkn")))) 341 (native-inputs (list frotz-dumb-terminal perl python))
341 (build-system gnu-build-system) 342 (arguments
342 (native-inputs (list frotz-dumb-terminal perl python)) 343 (list
343 (arguments 344 #:test-target "test"
344 (list 345 #:parallel-tests? #f
345 #:test-target "test" 346 #:phases
346 #:parallel-tests? #f 347 #~(modify-phases %standard-phases
347 #:phases 348 (delete 'configure)
348 #~(modify-phases %standard-phases 349 (add-before 'build 'set-install-prefix
349 (delete 'configure) 350 (lambda _
350 (add-before 'build 'set-install-prefix 351 (setenv "PREFIX" #$output)))
351 (lambda _ 352 (replace 'build
352 (setenv "PREFIX" #$output))) 353 (lambda _
353 (replace 'build 354 (with-directory-excursion "src"
354 (lambda _ 355 (substitute* "Makefile"
355 (with-directory-excursion "src" 356 (("cp dialogc" all)
356 (substitute* "Makefile" 357 (string-append "install -d ${PREFIX}/bin\n\t" all))
357 (("cp dialogc" all) 358 (("/usr/local") "${PREFIX}"))
358 (string-append "install -d ${PREFIX}/bin\n\t" all)) 359 (invoke "make"))))
359 (("/usr/local") "${PREFIX}")) 360 (replace 'install
360 (invoke "make")))) 361 (lambda _
361 (replace 'install 362 (let ((bin (string-append #$output "/bin")))
362 (lambda _ 363 (install-file "src/dialogc" bin)
363 (let ((bin (string-append #$output "/bin"))) 364 (install-file "src/dgdebug" bin)))))))
364 (install-file "src/dialogc" bin) 365 (synopsis "Dialog interactive fiction compiler")
365 (install-file "src/dgdebug" bin))))))) 366 (description
366 (synopsis "Dialog interactive fiction compiler") 367 "Dialog is a domain-specific language for creating works
367 (description
368 "Dialog is a domain-specific language for creating works
369of interactive fiction. It is heavily inspired by Inform 7 and Prolog.") 368of interactive fiction. It is heavily inspired by Inform 7 and Prolog.")
370 (home-page "https://github.com/Dialog-IF/dialog") 369 (home-page "https://github.com/Dialog-IF/dialog")
371 (license license:bsd-2)))) 370 (license license:bsd-2)))
372 371
373(define-public go-codeberg-org-anaseto-gruid-sdl 372(define-public go-codeberg-org-anaseto-gruid-sdl
374 (package 373 (package