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
This commit is contained in:
parent
37e1794425
commit
51648727f5
@ -1,23 +1,19 @@
|
|||||||
{ stdenv, fetchurl, jdk, jre, ant, coreutils, gnugrep }:
|
{ stdenv, fetchFromGitHub, jdk, jre, ant, coreutils, gnugrep }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
version = "1.0.2";
|
version = "1.0.6";
|
||||||
name = "arduino-core";
|
name = "arduino-core";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://arduino.googlecode.com/files/arduino-${version}-src.tar.gz";
|
owner = "arduino";
|
||||||
sha256 = "0nszl2hdjjgxk87gyk0xi0ww9grbq83hch3iqmpaf9yp4y9bra0x";
|
repo = "Arduino";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "0nr5b719qi03rcmx6swbhccv6kihxz3b8b6y46bc2j348rja5332";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ jdk ant ];
|
buildInputs = [ jdk ant ];
|
||||||
|
|
||||||
phases = "unpackPhase patchPhase buildPhase installPhase";
|
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
#
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd ./core && ant
|
cd ./core && ant
|
||||||
cd ../build && ant
|
cd ../build && ant
|
||||||
@ -34,9 +30,9 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Arduino libraries";
|
description = "Libraries for the open-source electronics prototyping platform";
|
||||||
homepage = http://arduino.cc/;
|
homepage = http://arduino.cc/;
|
||||||
license = "GPL";
|
license = stdenv.lib.licenses.gpl2;
|
||||||
maintainers = [ stdenv.lib.maintainers.antono ];
|
maintainers = [ stdenv.lib.maintainers.antono stdenv.lib.maintainers.robberer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user