[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/10] gnu: Add spinsim.
From: |
Ricardo Wurmus |
Subject: |
[PATCH 09/10] gnu: Add spinsim. |
Date: |
Mon, 26 Dec 2016 17:04:51 +0100 |
* gnu/packages/embedded.scm (spinsim): New variable.
---
gnu/packages/embedded.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index b7e7951..11aa68e 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -656,3 +656,39 @@ they are much faster than regular Spin bytecodes (but also
quite a bit
larger).")
(license license:expat)))
+(define-public spinsim
+ (let ((commit "66915a7ad1a3a2cf990a725bb341fab8d11eb620")
+ (revision "1"))
+ (package
+ (name "spinsim")
+ (version (string-append "0.75-" revision "." (string-take commit 9)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/parallaxinc/spinsim.git")
+ (commit commit)))
+ (file-name (string-append name "-" commit "-checkout"))
+ (sha256
+ (base32
+ "1n9kdhlxsdx7bz6c80w8dhi96zp633gd6qs0x9i4ii8qv4i7sj5k"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out")
+ "/bin")))
+ (install-file "build/spinsim" bin))
+ #t)))))
+ (home-page "https://github.com/parallaxinc/spinsim")
+ (synopsis "Spin simulator")
+ (description "This package provides the tool @code{spinsim}, a simulator
+and simple debugger for Spin programs written for a Parallax Propeller
+micro-controller. Spinsim supports execution from cog memory and hub
+execution, but it does not support multi-tasking. It supports about
+two-thirds of the opcodes in the P2 instruction set.")
+ (license license:expat))))
+
--
2.10.2
- [PATCH 04/10] gnu: Add proplib., (continued)
- [PATCH 04/10] gnu: Add proplib., Ricardo Wurmus, 2016/12/26
- [PATCH 05/10] gnu: Add propeller-toolchain., Ricardo Wurmus, 2016/12/26
- [PATCH 06/10] gnu: Add openspin., Ricardo Wurmus, 2016/12/26
- [PATCH 07/10] gnu: Add propeller-load., Ricardo Wurmus, 2016/12/26
- [PATCH 08/10] gnu: Add spin2cpp., Ricardo Wurmus, 2016/12/26
- [PATCH 09/10] gnu: Add spinsim.,
Ricardo Wurmus <=
- [PATCH 10/10] gnu: Add propeller-development-suite., Ricardo Wurmus, 2016/12/26
- Re: [PATCH 01/10] gnu: Add dummy linker for propeller-elf., Kei Kebreau, 2016/12/30
- Re: [PATCH 01/10] gnu: Add dummy linker for propeller-elf., Ludovic Courtès, 2016/12/30