Commit Graph

42 Commits

Author SHA1 Message Date
Pavol Rusnak
cf2a67fef3
pkgs/development: stdenv.lib -> lib
this takes care of the following folders in pkgs/development:
* arduino
* chez-modules
* go-packages
* guile-modules
* idris-modules
* perl-modules
* r-modules
* ruby-modules
2021-01-17 19:11:59 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Arnout Engelen
cdd8031fca arduino-core: fix 'Save as...'
Before, 'Save as..' would crash because it tries to use GSettings
to find some settings, but the GSettings schema's could not
be found in the XDG_DATA_DIRS.

Adding the glib setup hook populates GSETTINGS_SCHEMAS_PATH
so wrapGAppsHook can add it to XDG_DATA_DIRS, fixing
'Save as..'.
2021-01-02 14:04:03 +01:00
Doron Behar
3d4adbd091
Merge pull request #107529 from raboof/arduino-core-1.8.12-to-1.8.13
arduino: core 1.8.12 -> 1.8.13
2020-12-25 12:42:44 +02:00
Arnout Engelen
e882468161
arduino: teensyduino 1.51 -> 1.53 2020-12-25 09:35:05 +01:00
Arnout Engelen
022d7207fa
arduino: use gtk3 2020-12-24 20:03:00 +01:00
Arnout Engelen
3b05df1d13
arduino: core 1.8.12 -> 1.8.13 2020-12-24 14:09:49 +01:00
Matthew Bauer
669eb09bd5
Merge branch 'master' into fetchurl-no-hash 2020-07-06 14:40:49 -04:00
Pavol Rusnak
2cb97c36ae arduino: 1.8.9 -> 1.8.12 2020-06-10 20:52:17 +02:00
Matthew Bauer
a528cc1bca arduino: error on wrong architecture 2020-06-09 11:23:15 -05:00
Jan Tojnar
e89e2edc73
libusb-compat-0_1: rename from libusb 2020-04-28 05:33:41 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Rehno Lindeque
b13f8788dc teensyduino: add missing dependencies for teensy-loader 2020-03-07 06:15:02 +01:00
Matthew Bauer
4c85abae94 treewide: use libtinfo.so.5 where needed
This was originally added in

https://github.com/NixOS/nixpkgs/pull/21350

best to use this name for clarity.
2019-09-18 13:57:20 -04:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Daniel Bergey
98582c6b52 arduino: 1.8.5 -> 1.8.9 2019-09-07 11:16:50 +02:00
Daniel Bergey
51c0c88674 teensyduino: 1.45 -> 1.47
Needed to support arduino-1.8.9
2019-09-07 11:16:50 +02:00
Gemini Lasswell
4bca06ebc5 arduino: fix incorrect sha256 in Darwin build 2019-08-06 08:18:49 -07:00
worldofpeace
b1bc0645ea gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
Jade
430100bf30 teensyduino: 1.40 -> 1.45
Bumps teensyduino version, simplifies building, and fixes a build error
2019-03-06 01:40:09 -06:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
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