Commit graph

30 commits

Author SHA1 Message Date
Matthew Bauer
7af81d99dd arduino: only build on linux 2016-08-10 22:29:58 -05:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03: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
Frederik Rietdijk
d5e6a4494a Python: use PyPI mirror (#15001)
* mirrors: add pypi

* Python: Use pypi mirror for all PyPI packages
2016-04-26 13:38:03 +01:00
Nikolay Amiantov
8b7ebaffeb replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
Frederik Rietdijk
4d06bf70f4 buildPythonApplication: use new function for Python applications 2016-02-19 13:16:41 +01:00
Matthew O'Gorman
119a9458fb
platformio: init at 2.7.0 2016-01-06 04:09:52 -05: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
Bjørn Forsman
83e3f38593 arduino-core: align attrname with package name
arduino_core => arduino-core. Retain copy of old attrname for backward
compatibility.
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
Tom Fitzhenry
0ba024ac9f ino: Use picocom rather than minicom 2014-11-29 17:55:41 +00: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
Domen Kožar
ef9bcbd0b2 ino: set six as dep 2014-08-27 19:02:05 +02:00
Moritz Ulrich
a14eaaa9f0 ino: update to 0.3.6
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-11-26 23:55:31 +01:00
Eelco Dolstra
df0d362f31 Fix some more Hydra evaluation errors 2013-10-08 11:07:14 +02:00
Evgeny Egorochkin
a8185ff379 ino: fix hash 2013-08-16 22:26:34 +03:00
Moritz Ulrich
cf24550e91 Update inotool and fix `ino upload'.
0.3.5 is just a patch-release (no code changes). More important is the
patch to the upload-command. It now uses the nix-supplied avrdude
instead of some random avrdude it finds (in the arduino distribution
or wherever).

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-08-15 23:14:36 +02:00
Florian Friesdorf
fc9bdabd54 fix ino 2013-03-25 15:28:09 +01:00
Antono Vasiljev
dde7b978d6 inotool: add avr-gcc-libc to inputs 2012-12-23 18:21:51 +02:00
Antono Vasiljev
495f4c597f remove avr gcc from inputs (it should be rebuit with C++ support) 2012-12-01 05:00:45 +03: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