unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 32923@debbugs.gnu.org
Subject: [bug#32923] [PATCH 0/3] Add Arduino basics.
Date: Fri, 01 Sep 2023 15:02:50 -0400	[thread overview]
Message-ID: <87fs3x1ztx.fsf_-_@gmail.com> (raw)
In-Reply-To: <20181003194413.3696-2-dannym@scratchpost.org> (Danny Milosavljevic's message of "Wed, 3 Oct 2018 21:44:12 +0200")

Hi,

Danny Milosavljevic <dannym@scratchpost.org> writes:

> * 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+))))

This produces:

--8<---------------cut here---------------start------------->8---
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7/share
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7/share/arduino
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7/share/arduino/hardware
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7/share/arduino/libraries
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7/share/arduino/libraries/.keep
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7/share/doc
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7/share/doc/arduino-libraries-1.8.7
/gnu/store/b3lahllwi6v5zblwjngkg4j1mq60q142-arduino-libraries-1.8.7/share/doc/arduino-libraries-1.8.7/license.txt
--8<---------------cut here---------------end--------------->8---

i.e., it doesn't actually ship anything other than a .keep empty file.

-- 
Thanks,
Maxim




  reply	other threads:[~2023-09-01 19:03 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   ` [bug#32923] [PATCH 2/3] gnu: Add arduino-libraries Danny Milosavljevic
2023-09-01 19:02     ` Maxim Cournoyer [this message]
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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fs3x1ztx.fsf_-_@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=32923@debbugs.gnu.org \
    --cc=dannym@scratchpost.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).