[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/10] gnu: Add openspin.
From: |
Ricardo Wurmus |
Subject: |
[PATCH 06/10] gnu: Add openspin. |
Date: |
Mon, 26 Dec 2016 17:04:48 +0100 |
* gnu/packages/embedded.scm (openspin): New variable.
---
gnu/packages/embedded.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 615379b..bfdc28e 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -541,3 +541,36 @@ Propeller micro-controller development.")
(home-page (package-home-page propeller-gcc))
(license (package-license propeller-gcc))))
+(define-public openspin
+ (package
+ (name "openspin")
+ (version "1.00.78")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/parallaxinc/"
+ "OpenSpin/archive/" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1k2dbz1v604g4r2d9qhckg2m8dnhiya760mbsqfsg4waxal87yb7"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ ;; Makefile does not include "install" target
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out")
+ "/bin")))
+ (mkdir-p bin)
+ (install-file "build/openspin" bin)
+ #t))))))
+ (home-page "https://github.com/parallaxinc/OpenSpin")
+ (synopsis "Spin/PASM compiler for the Parallax Propeller")
+ (description "OpenSpin is a compiler for the Spin/PASM language of the
+Parallax Propeller. It was ported from Chip Gracey's original x86 assembler
+code.")
+ (license license:expat)))
+
--
2.10.2
- [PATCH 01/10] gnu: Add dummy linker for propeller-elf., Ricardo Wurmus, 2016/12/26
- [PATCH 02/10] gnu: Add propeller-binutils., Ricardo Wurmus, 2016/12/26
- [PATCH 03/10] gnu: Add propeller-gcc., Ricardo Wurmus, 2016/12/26
- [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 <=
- [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, 2016/12/26
- [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