diff options
author | Longrin Wischnewski <robberer@freakmail.de> | 2014-10-10 08:03:02 +0200 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-10-12 12:42:57 +0100 |
commit | 51648727f5ab9b3d2de9091910135c15c583af62 (patch) | |
tree | 6a29853777bd1a784baae5275a0b0f709e1647d9 /pkgs/development/arduino/arduino-core | |
parent | 37e1794425e27035dfda56d52c6fe0c4a817cd37 (diff) | |
download | nixlib-51648727f5ab9b3d2de9091910135c15c583af62.tar nixlib-51648727f5ab9b3d2de9091910135c15c583af62.tar.gz nixlib-51648727f5ab9b3d2de9091910135c15c583af62.tar.bz2 nixlib-51648727f5ab9b3d2de9091910135c15c583af62.tar.lz nixlib-51648727f5ab9b3d2de9091910135c15c583af62.tar.xz nixlib-51648727f5ab9b3d2de9091910135c15c583af62.tar.zst nixlib-51648727f5ab9b3d2de9091910135c15c583af62.zip |
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
Diffstat (limited to 'pkgs/development/arduino/arduino-core')
-rw-r--r-- | pkgs/development/arduino/arduino-core/default.nix | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/pkgs/development/arduino/arduino-core/default.nix b/pkgs/development/arduino/arduino-core/default.nix index f1be290b190e..94336cc9e2b4 100644 --- a/pkgs/development/arduino/arduino-core/default.nix +++ b/pkgs/development/arduino/arduino-core/default.nix @@ -1,23 +1,19 @@ -{ stdenv, fetchurl, jdk, jre, ant, coreutils, gnugrep }: +{ stdenv, fetchFromGitHub, jdk, jre, ant, coreutils, gnugrep }: stdenv.mkDerivation rec { - version = "1.0.2"; + version = "1.0.6"; name = "arduino-core"; - src = fetchurl { - url = "http://arduino.googlecode.com/files/arduino-${version}-src.tar.gz"; - sha256 = "0nszl2hdjjgxk87gyk0xi0ww9grbq83hch3iqmpaf9yp4y9bra0x"; + src = fetchFromGitHub { + owner = "arduino"; + repo = "Arduino"; + rev = "${version}"; + sha256 = "0nr5b719qi03rcmx6swbhccv6kihxz3b8b6y46bc2j348rja5332"; }; buildInputs = [ jdk ant ]; - phases = "unpackPhase patchPhase buildPhase installPhase"; - - patchPhase = '' - # - ''; - buildPhase = '' cd ./core && ant cd ../build && ant @@ -34,9 +30,9 @@ stdenv.mkDerivation rec { ''; meta = { - description = "Arduino libraries"; + description = "Libraries for the open-source electronics prototyping platform"; homepage = http://arduino.cc/; - license = "GPL"; - maintainers = [ stdenv.lib.maintainers.antono ]; + license = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.antono stdenv.lib.maintainers.robberer ]; }; } |