From: Eric Bavier <ericbavier@openmailbox.org>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 4/5] gnu: arduino: Add arduino-libraries.
Date: Tue, 16 Aug 2016 17:56:51 -0500 [thread overview]
Message-ID: <20160816175651.2d8ca6a1@openmailbox.org> (raw)
In-Reply-To: <20160816183632.30820-5-dannym@scratchpost.org>
On Tue, 16 Aug 2016 20:36:31 +0200
Danny Milosavljevic <dannym@scratchpost.org> wrote:
> * gnu/packages/arduino.scm (arduino-libraries): New variable.
> ---
> gnu/packages/arduino.scm | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/gnu/packages/arduino.scm b/gnu/packages/arduino.scm
> index ae69c04..675df80 100644
> --- a/gnu/packages/arduino.scm
> +++ b/gnu/packages/arduino.scm
> @@ -91,3 +91,18 @@
> (description "arduino-hardware contains Arduino Hardware Spec Files (boards.txt etc).")
> ;; GPL covers the main body ("app", "core"). LGPL covers the remainder.
> (license license:lgpl2.1+))) ; FIXME check
> +
> +(define-public arduino-libraries
> + (package (inherit arduino-hardware)
This seems like a false inheritence to me. Do arduino-hardware and
arduino-libraries really need to be separate packages? This are build
from the same source. I don't know the package at all, but it seems
like you might be able to do away with the dependencies setup and the
arduino-installer procedure if the two are built together. WDYT?
> + (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")))
> + (replace 'install ,(arduino-installer "libraries"))))))
> + (license license:lgpl2.1))) ; FIXME check apache license etc
^
This of course needs to be resolved before pushing.
`~Eric
next prev parent reply other threads:[~2016-08-16 22:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-16 18:36 [PATCH 0/5] gnu: Add Arduino tools Danny Milosavljevic
2016-08-16 18:36 ` [PATCH 1/5] gnu: Add "arduino" module Danny Milosavljevic
2016-08-16 22:40 ` Eric Bavier
2016-08-16 18:36 ` [PATCH 2/5] gnu: arduino: Add "arduino-installer" helper Danny Milosavljevic
2016-08-16 18:36 ` [PATCH 3/5] gnu: arduino: Add arduino-hardware Danny Milosavljevic
2016-08-16 22:53 ` Eric Bavier
2016-08-16 18:36 ` [PATCH 4/5] gnu: arduino: Add arduino-libraries Danny Milosavljevic
2016-08-16 22:56 ` Eric Bavier [this message]
2016-08-16 23:23 ` Danny Milosavljevic
2016-08-16 18:36 ` [PATCH 5/5] gnu: Add arduino-makefile Danny Milosavljevic
2016-08-17 5:02 ` Eric Bavier
2016-08-17 9:03 ` Danny Milosavljevic
2016-08-16 18:49 ` Maven Danny Milosavljevic
2016-08-17 6:16 ` Maven Ricardo Wurmus
2016-08-30 9:21 ` [PATCH 0/5] gnu: Add Arduino tools Ludovic Courtès
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=20160816175651.2d8ca6a1@openmailbox.org \
--to=ericbavier@openmailbox.org \
--cc=dannym@scratchpost.org \
--cc=guix-devel@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.