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.
This can fail randomly with
CC systemkey.o
In file included from systemkey.c:47:0:
systemkey-args.h:1:1: error: unterminated comment
/* -*- buffer-read-only: t -*- vi: set ro:
which is presumably caused by a race with the generation step above:
autogen systemkey-args.def
http://hydra.nixos.org/build/37878764#tabs-buildsteps
- Remove unused dependencies atlas/blas
- Add hdf5/superlu dependency (As superlu needs openblasCompat, we also use it here.)
- Add support for darwin
- Make use of OpenBLAS-LAPACK in armadillo
OpenBLAS (confusingly) contains LAPACK already by default, so we simply use OpenBLAS when searching for LAPACK.
The better solution would be for armadillo to use cmake built in FindBLAS/FindLAPACK which both would find OpenBLAS.
This update was generated by hackage2nix v2.0-11-gcec8f95 using the following inputs:
- Hackage: 19ec8f3a6d
- LTS Haskell: a5a99cf176
- Stackage Nightly: bf146896f3
According to https://launchpad.net/gcc-arm-embedded:
> Licence:
> Simplified BSD Licence, GNU GPL v2, GNU GPL v3, GNU LGPL v2.1, GNU
> LGPL v3, MIT / X / Expat Licence
Google Code no longer supports git cloning. We could restore this
revision by exporting the repository to github and working from there,
but barring a request for it, we can just use the released version.
The issue is that the library files were not copied to $out with the
existing `installTargets` definition.
I noticed this problem on darwin, but I do not know if it is a
darwin-only problem.