From: ng0 <ngillmann@runbox.com>
To: guix-devel@gnu.org
Subject: [PATCH 2/2] gnu: Add colorforth.
Date: Thu, 6 Oct 2016 22:37:56 +0000 [thread overview]
Message-ID: <20161006223756.23408-3-ngillmann@runbox.com> (raw)
In-Reply-To: <20161006223756.23408-1-ngillmann@runbox.com>
* gnu/packages/forth.scm (colorforth): New variable.
---
gnu/packages/forth.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/forth.scm b/gnu/packages/forth.scm
index 67de966..8f32455 100644
--- a/gnu/packages/forth.scm
+++ b/gnu/packages/forth.scm
@@ -21,7 +21,9 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
+ #:use-module (gnu packages assembly)
#:use-module (gnu packages m4))
(define-public gforth
@@ -58,3 +60,39 @@ and history. A generic virtual machine environment, vmgen, is also
included.")
(home-page "https://www.gnu.org/software/gforth/")
(license license:gpl3+)))
+
+(define-public colorforth
+ (let ((commit "94aec438f1ded202681f18801b98c52dc3beee41")
+ (revision "1"))
+ (package
+ (name "colorforth")
+ (version (string-append "0.0.0-" revision "." (string-take commit 7)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/narke/colorForth")
+ (commit commit)))
+ (sha256
+ (base32
+ "0s602k568bm6vmvpahsms77liicg38vksn59j5m8ax4h9l9ca77r"))))
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (replace 'install ; There is no 'install
+ (lambda _
+ (install-file "cf2012.img"
+ (string-append (assoc-ref %outputs "out")
+ "/bin")))))))
+ (native-inputs
+ `(("nasm" ,nasm)))
+ (build-system gnu-build-system)
+ (home-page "https://github.com/narke/colorForth")
+ (synopsis "Native 32-bit colorForth for PCs, Bochs and Qemu")
+ (description
+ "Native colorForth for 32-bit PCs, at least compilable on Linux
+ and runnable on both Bochs and Qemu. It is adapted from
+ @url{http://sourceforge.net/projects/colorforth, colorforth}.
+ The original colorforth is public domain software.")
+ (license license:public-domain)))) ; clarify upstream
--
2.10.1
prev parent reply other threads:[~2016-10-06 22:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 22:37 gforth->forth, add colorforth for review ng0
2016-10-06 22:37 ` [PATCH 1/2] gnu: Rename gforth module to forth ng0
2016-10-06 22:37 ` ng0 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161006223756.23408-3-ngillmann@runbox.com \
--to=ngillmann@runbox.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.