Commit Graph

21 Commits

Author SHA1 Message Date
Gemini Lasswell
8d86d2d7ef arduino: 1.8.2 -> 1.8.5 2018-01-07 15:45:46 +01:00
Gemini Lasswell
758864a040 arduino: 1.6.12 -> 1.8.2 2017-06-01 08:44:27 +02:00
Jonathan Glines
538ec0cc92 teensyduino: init at 1.31 (#20807) 2016-12-02 11:31:01 +01:00
Christine Koppelt
68bab119a0 arduino: fix 32bit build 2016-10-10 21:54:58 +02:00
Christine Koppelt
6c9cc19915 arduino: 1.6.9 -> 1.6.12 (#19335) 2016-10-09 14:27:04 +02:00
Matthew Bauer
7af81d99dd arduino: only build on linux 2016-08-10 22:29:58 -05:00
Alexey Lebedeff
d7176a83a7 arduino: Fix building on i686
And probably on MacOS X and Linux ARM, but I have nowhere to test it.

[Bjørn: The breakage was introduced by 8b1976c7f6
("arduino: 1.0.6 -> 1.6.9 (#17060)").]
2016-07-25 17:56:04 +02:00
Alexey Lebedeff
8b1976c7f6 arduino: 1.0.6 -> 1.6.9 (#17060)
Based on @brodul work at
https://github.com/brodul/nixpkgs/tree/arduino-update

Desktop file generation is from #13690

- Solved all download problems. Package/library lists are changing
  daily, so I've created my own snapshot of them.
- Prepatch jssc .so inside jar - @brodul mentions that it can be copied
  into $HOME while running program.
- Removed some unnecessary dependencies

Tested it by uploading simple sketch to Arduino Uno.
2016-07-20 14:57:59 +02:00
Bjørn Forsman
2d7e4de12e Revert "arduino: 1.0.6 -> 1.6.6"
This reverts commit 6ff886e539 because it
doesn't work when chroot builds are enabled (nix.useChroot = true):

  $ nix-build -A arduino
  these derivations will be built:
    /nix/store/xjv1j3mww4jx1vccfc0p1inlcrlgx2if-arduino-1.6.6.drv
  building path(s) ‘/nix/store/58sdiphd4pm3811gir0b8j718pgq8zvk-arduino-1.6.6’
  ...
  untar-unzip-download:
        [get] Getting: http://downloads.arduino.cc/reference-1.6.6-3.zip
        [get] To: /tmp/nix-build-arduino-1.6.6.drv-0/Arduino-1.6.6-src/build/shared/reference-1.6.6-3.zip
        [get] Error getting http://downloads.arduino.cc/reference-1.6.6-3.zip to /tmp/nix-build-arduino-1.6.6.drv-0/Arduino-1.6.6-src/build/shared/reference-1.6.6-3.zip

  untar-unzip-checksum:
       [echo] Testing checksum of "shared/reference-1.6.6-3.zip"
   [checksum] Could not find file /tmp/nix-build-arduino-1.6.6.drv-0/Arduino-1.6.6-src/build/shared/reference-1.6.6-3.zip to generate checksum for.

  BUILD FAILED

Reasoning: without a revert, the build farm cannot produce binaries and
users that build from source, without chroot, cannot trust that they get
a working result (non-deterministic build, depending on how pure the
arduino builder is).
2016-05-11 21:11:28 +02:00
Kjetil Orbekk
6ff886e539 arduino: 1.0.6 -> 1.6.6 2016-05-08 22:02:56 -04:00
Nikolay Amiantov
8b7ebaffeb replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
Pascal Wittmann
9c9c586534 Fixed several "package has no version" warnings 2015-05-14 17:19:41 +02:00
Bjørn Forsman
daec5d6f25 arduino: set meta.platforms and add myself as maintainer 2015-02-07 10:47:53 +01:00
Bjørn Forsman
e10704335a arduino: new package (2nd attempt). Close #6159.
[Now without the "stdenv.glibc" reference, which is unavailable on
darwin. It seems the dynamic linker finds libc/libm without it being
explicitly in RPATH, so we can just drop it.]

This commit adds the graphical Arduino IDE, built from the arduino-core
expression.

Also:
  - Add libusb to RPATH for avrdude. Without this, avrdude is broken.
    Possible TODO: replace bundled avrdude with the one from nixpkgs.
  - Use "cp -r ./build/linux/work/*", so example sketeches, the HTML
    reference documentation and the 'arduino' shell script that starts the
    IDE gets included.
  - Make meta.description slightly more generic, to cover both GUI/core
    variants.
2015-02-07 07:03:00 +01:00
Domen Kožar
bb7246be3e Revert "arduino: new package"
This reverts commit ca982158bf.

@bjornfor
2015-02-04 13:49:27 +01:00
Bjørn Forsman
ca982158bf arduino: new package
This commit adds the graphical Arduino IDE, built from the arduino-core
expression.

Also:
  - Add libusb to RPATH for avrdude. Without this, avrdude is broken.
    Possible TODO: replace bundled avrdude with the one from nixpkgs.
  - Use "cp -r ./build/linux/work/*", so example sketeches, the HTML
    reference documentation and the 'arduino' shell script that starts the
    IDE gets included.
  - Make meta.description slightly more generic, to cover both GUI/core
    variants.
2015-02-04 07:22:39 +01:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Bjørn Forsman
84d844e03d arduino-core: fixup ELF interperter paths in prebuilt binaries
Fixes #4688
2014-10-27 22:04:02 +01:00
Longrin Wischnewski
51648727f5 arduino-core: bump version from 1.0.2 to 1.0.6
- replace fetchurl with fetchgit because googlecode is unmaintained
- remove unnecessary phases
- change license and maintainers
- tested with a few sketches and inotool

- change description according to "Contributors Guide"

change fetchgit to fetchFromgitHub

Closes #4449
2014-10-12 12:42:57 +01:00
Antono Vasiljev
25f0472564 Improved arduino-core and ino 2012-11-28 17:37:11 +03:00
Antono Vasiljev
1bf18a589c arduino-core libraries +inotool 2012-11-28 04:55:24 +03:00