From: Danny Milosavljevic <dannym@scratchpost.org>
To: 32923@debbugs.gnu.org
Subject: [bug#32923] [PATCH 2/3] gnu: Add arduino-libraries.
Date: Wed, 3 Oct 2018 21:44:12 +0200 [thread overview]
Message-ID: <20181003194413.3696-2-dannym@scratchpost.org> (raw)
In-Reply-To: <20181003194413.3696-1-dannym@scratchpost.org>
* gnu/packages/arduino.scm (arduino-libraries): New variable.
---
gnu/packages/arduino.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/arduino.scm b/gnu/packages/arduino.scm
index 24f109ecd..369ca68a7 100644
--- a/gnu/packages/arduino.scm
+++ b/gnu/packages/arduino.scm
@@ -104,3 +104,21 @@
(boards.txt etc).")
;; GPL covers the main body ("app", "core"). LGPL covers the remainder.
(license (list license:lgpl2.1+ license:gpl3+))))
+
+(define-public arduino-libraries
+ (package (inherit arduino-hardware)
+ (name "arduino-libraries")
+ (inputs
+ `(("arduino-hardware" ,arduino-hardware)))
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments arduino-hardware)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (replace 'chdir
+ (lambda _
+ (chdir "libraries")
+ #t))
+ (replace 'install ,(arduino-installer "libraries"))))))
+ ;; Note: Some parts are BSD and ASL-2.0 licensed.
+ (license (list license:lgpl2.1+ license:gpl3+))))
next prev parent reply other threads:[~2018-10-03 19:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-03 19:42 [bug#32923] [PATCH 0/3] Add Arduino basics Danny Milosavljevic
2018-10-03 19:44 ` [bug#32923] [PATCH 1/3] gnu: Add arduino-hardware Danny Milosavljevic
2018-10-03 19:44 ` Danny Milosavljevic [this message]
2023-09-01 19:02 ` [bug#32923] [PATCH 0/3] Add Arduino basics Maxim Cournoyer
2018-10-03 19:44 ` [bug#32923] [PATCH 3/3] gnu: Add arduino-makefile Danny Milosavljevic
2023-09-01 18:46 ` [bug#32923] [PATCH 0/3] Add Arduino basics Maxim Cournoyer
2018-10-09 7:44 ` Björn Höfling
2018-10-09 15:26 ` Danny Milosavljevic
2018-10-09 20:42 ` Björn Höfling
2023-05-27 21:52 ` Robby Zambito
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=20181003194413.3696-2-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=32923@debbugs.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.