teensy-loader-cli: consistent naming, version bump

This commit is contained in:
Andreas Wagner 2015-09-16 10:22:41 -04:00 committed by Moritz Ulrich
parent f02eed27f9
commit 937741c9f3
3 changed files with 27 additions and 27 deletions

@ -0,0 +1,26 @@
{ stdenv, fetchurl, unzip, libusb, fetchgit }:
let
version = "2.1";
in
stdenv.mkDerivation {
name = "teensy-loader-cli-${version}";
src = fetchgit {
url = "git://github.com/PaulStoffregen/teensy_loader_cli.git";
rev = "001da416bc362ff24485ff97e3a729bd921afe98";
sha256 = "36aed0a725055e36d71183ff57a023993099fdc380072177cffc7676da3c3966";
};
buildInputs = [ unzip libusb ];
installPhase = ''
install -Dm755 teensy_loader_cli $out/bin/teensy-loader-cli
'';
meta = with stdenv.lib; {
license = licenses.gpl3;
description = "Firmware uploader for the Teensy microcontroller boards";
homepage = http://www.pjrc.com/teensy/;
maintainers = with maintainers; [ the-kenny ];
platforms = platforms.linux;
};
}

@ -1,26 +0,0 @@
{ stdenv, fetchurl, unzip, libusb }:
let
version = "2.1";
in
stdenv.mkDerivation {
name = "teensy-loader-${version}";
src = fetchurl {
url = "http://www.pjrc.com/teensy/teensy_loader_cli.2.1.zip";
sha256 = "0iidj3q0l2hds1gaadnwgni4qdgk6r0nv101986jxda8cw6h9zfs";
};
buildInputs = [ unzip libusb ];
installPhase = ''
mkdir -p $out/bin
cp -v teensy_loader_cli $out/bin/
'';
meta = with stdenv.lib; {
license = licenses.gpl3;
description = "Firmware uploader for the Teensy microcontroller board";
homepage = http://www.pjrc.com/teensy/;
maintainers = with maintainers; [ the-kenny ];
platforms = platforms.linux;
};
}

@ -5750,7 +5750,7 @@ let
tcptrack = callPackage ../development/tools/misc/tcptrack { };
teensy-loader = callPackage ../development/tools/misc/teensy { };
teensy-loader-cli = callPackage ../development/tools/misc/teensy-loader-cli { };
texinfo413 = callPackage ../development/tools/misc/texinfo/4.13a.nix { };
texinfo4 = texinfo413;