unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#32667] PATCH: add confusion-mdl to lisp.scm
@ 2018-09-08 21:32 Benjamin Slade
  2018-09-17 21:20 ` bug#32667: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Slade @ 2018-09-08 21:32 UTC (permalink / raw)
  To: 32667

[-- Attachment #1: Type: text/plain, Size: 80 bytes --]

gnu: Add confusion-mdl

* gnu/packages/lisp.scm (confusion-mdl): New variable.


[-- Attachment #2: add confusion-mdl --]
[-- Type: text/x-patch, Size: 2950 bytes --]

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 720ac070c..ad8d16d4a 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -62,6 +63,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages xorg)
+  #:use-module (gnu packages perl)
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
@@ -1442,3 +1444,46 @@ compressor.  It works on data produced by @code{parse-js} to generate a
      `(("sbcl" ,sbcl)
        ("sbcl-cl-uglify-js" ,sbcl-cl-uglify-js)))
     (synopsis "JavaScript compressor")))
+
+(define-public confusion-mdl
+  (let* ((commit "12a055581fc262225272df43287dae48281900f5"))
+    (package
+      (name "confusion-mdl")
+      (version "0.2")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url (string-append "https://gitlab.com/emacsomancer/" name ))
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "1zi8kflzvwqg97ha1sa5xjisbjs5z1mvbpa772vfxiv5ksnpxp0d"))
+                (file-name (git-file-name name version))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f                    ; there are no tests
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure)
+           (replace 'build
+             (lambda* (#:key (make-flags '()) #:allow-other-keys)
+               (apply invoke "make" "CC=gcc" make-flags)))
+           (replace 'install
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((out (assoc-ref outputs "out"))
+                      (bin (string-append out "/bin")))
+                 (install-file "mdli" bin)
+                 #t))))))
+      (native-inputs
+       `(("libgc" ,libgc)
+         ("perl" ,perl)))
+      (synopsis "Interpreter for MDL")
+      (description "MDL (the MIT Design Language) is a descendant of Lisp.  It
+was originally developed in 1971 on the PDP-10 computer under the Incompatible
+Timesharing System to provide high level language support for the
+Dynamic Modeling Group at MIT's Project MAC.  Infocom build the original
+PDP-10 Zork in MDL and their later ZIL (Zork Implementation Language) was based
+on a subset of MDL.  Confusion is a MDL interpreter that works just well enough
+to play the original mainframe Zork all the way through.")
+      (home-page "http://www.russotto.net/git/mrussotto/confusion/src/master/src/README")
+      (license license:gpl3+))))

[-- Attachment #3: Type: text/plain, Size: 251 bytes --]



-- 
Dr Benjamin Slade - https://babbagefiles.xyz
  `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
    '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
       `(Choose Linux ,(Choose Freedom) . https://linux.com )

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#32667: PATCH: add confusion-mdl to lisp.scm
  2018-09-08 21:32 [bug#32667] PATCH: add confusion-mdl to lisp.scm Benjamin Slade
@ 2018-09-17 21:20 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-09-17 21:20 UTC (permalink / raw)
  To: Benjamin Slade; +Cc: 32667-done

Hi,

Benjamin Slade <slade@jnanam.net> skribis:

> gnu: Add confusion-mdl
>
> * gnu/packages/lisp.scm (confusion-mdl): New variable.

Pushed as 56c240ba8c8afa5945ec05acf3b32908d92fc45f with minor changes.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-17 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-08 21:32 [bug#32667] PATCH: add confusion-mdl to lisp.scm Benjamin Slade
2018-09-17 21:20 ` bug#32667: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).