summaryrefslogtreecommitdiff
path: root/gnu/packages/assembly.scm
diff options
context:
space:
mode:
authorB. Wilson <elaexuotee@wilsonb.com>2023-09-14 14:10:47 +0900
committerLudovic Courtès <ludo@gnu.org>2023-09-27 23:58:38 +0200
commitd0d6851d852b15c657af5532d6a95a75e952e012 (patch)
tree609eb219a57d55cf61f0657aff6930b78d5d330a /gnu/packages/assembly.scm
parent72fc91b113564f8006094c0118f06af0f414d21b (diff)
gnu: Add blinkenlights.
* gnu/packages/assembly.scm (blinkenlights): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/assembly.scm')
-rw-r--r--gnu/packages/assembly.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm
index 37b5712d810..3bfe0bd3e0d 100644
--- a/gnu/packages/assembly.scm
+++ b/gnu/packages/assembly.scm
@@ -14,6 +14,7 @@
14;;; Copyright © 2022 Felix Gruber <felgru@posteo.net> 14;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
15;;; Copyright © 2022 Andy Tai <atai@atai.org> 15;;; Copyright © 2022 Andy Tai <atai@atai.org>
16;;; Copyright © 2023 Simon South <simon@simonsouth.net> 16;;; Copyright © 2023 Simon South <simon@simonsouth.net>
17;;; Copyright © 2023 B. Wilson <elaexuotee@wilsonb.com>
17;;; 18;;;
18;;; This file is part of GNU Guix. 19;;; This file is part of GNU Guix.
19;;; 20;;;
@@ -644,3 +645,37 @@ intrinsics as defined in the @file{arm_neon.h} header and x86 SSE (up to
644SSE4.2) intrinsic functions as defined in corresponding x86 compilers headers 645SSE4.2) intrinsic functions as defined in corresponding x86 compilers headers
645files.") 646files.")
646 (license license:bsd-2)))) 647 (license license:bsd-2))))
648
649(define-public blinkenlights
650 (package
651 (name "blinkenlights")
652 (version "1.0.0")
653 (source (origin
654 (method git-fetch)
655 (uri (git-reference
656 (url "https://github.com/jart/blink")
657 (commit version)))
658 (sha256
659 (base32
660 "0dgfqy5z1vbpgbf39f14ngkqmw4gi3hsyihi4sh1qcbp9gnqpg2v"))
661 (file-name (git-file-name name version))))
662 (build-system gnu-build-system)
663 (arguments
664 (list #:tests? #f ;Tests require network access
665 #:phases
666 #~(modify-phases %standard-phases
667 ;; Call ./configure without --enable-fast-install argument, which
668 ;; causes the script to fail with an "unsupported option" error.
669 (replace 'configure
670 (lambda* (#:key inputs outputs #:allow-other-keys)
671 (invoke "./configure"
672 (string-append "CC=" #$(cc-for-target))
673 (string-append "--prefix="
674 (assoc-ref outputs "out"))))))))
675 (home-page "https://justine.lol/blinkenlights/")
676 (synopsis "Emulator for x86_64-linux programs with a text user interface")
677 (description
678 "Blinkenlights is a command-line debugger that focuses on visualizing how
679software changes memory. It can emulate statically-linked i8086 and
680x86_64-pc-linux-gnu programs.")
681 (license license:isc)))