From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 4/5] gnu: Add avr-toolchain. Date: Thu, 14 Apr 2016 09:17:03 -0400 Message-ID: <1460639824-9976-5-git-send-email-dthompson2@worcester.edu> References: <1460639824-9976-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqh92-0000VH-8J for guix-devel@gnu.org; Thu, 14 Apr 2016 09:17:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqh8y-0001sL-4E for guix-devel@gnu.org; Thu, 14 Apr 2016 09:17:16 -0400 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:35402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqh8y-0001sC-0x for guix-devel@gnu.org; Thu, 14 Apr 2016 09:17:12 -0400 Received: by mail-qk0-x22c.google.com with SMTP id o6so28931715qkc.2 for ; Thu, 14 Apr 2016 06:17:11 -0700 (PDT) In-Reply-To: <1460639824-9976-1-git-send-email-dthompson2@worcester.edu> 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/avr.scm (avr-toolchain): New variable. --- gnu/packages/avr.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm index 81ca162..94776d8 100644 --- a/gnu/packages/avr.scm +++ b/gnu/packages/avr.scm @@ -24,8 +24,10 @@ #:use-module (guix download) #:use-module (guix packages) #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages cross-base) + #:use-module (gnu packages flashing-tools) #:use-module (gnu packages vim) #:use-module (gnu packages zip)) @@ -102,6 +104,25 @@ for use with GCC on Atmel AVR microcontrollers.") (license (license:non-copyleft "http://www.nongnu.org/avr-libc/LICENSE.txt")))) +(define-public avr-toolchain + (package + (name "avr-toolchain") + (version (package-version avr-gcc)) + (source #f) + (build-system trivial-build-system) + (arguments '(#:builder (mkdir %output))) + (propagated-inputs + `(("avrdude" ,avrdude) + ("binutils" ,avr-binutils) + ("gcc" ,avr-gcc) + ("libc" ,avr-libc))) + (synopsis "Complete GCC tool chain for AVR microcontroller development") + (description "This package provides a complete GCC tool chain for AVR +microcontroller development. This includes the GCC AVR cross compiler and +avrdude for firmware flashing. The supported programming languages are C and +C++.") + (home-page (package-home-page avr-libc)) + (license (package-license avr-gcc)))) (define-public microscheme (package -- 2.7.3