From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 06/10] gnu: Add openspin. Date: Mon, 26 Dec 2016 17:04:48 +0100 Message-ID: <20161226160452.19939-6-rekado@elephly.net> References: <20161226160452.19939-1-rekado@elephly.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLXmC-0002gZ-NK for guix-devel@gnu.org; Mon, 26 Dec 2016 11:05:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLXm9-0006EK-FY for guix-devel@gnu.org; Mon, 26 Dec 2016 11:05:28 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cLXm9-0006DZ-6G for guix-devel@gnu.org; Mon, 26 Dec 2016 11:05:25 -0500 In-Reply-To: <20161226160452.19939-1-rekado@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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