teensy-loader: New package
Firmware uploader for the teensy microcontroller board family.
This commit is contained in:
parent
493adc9227
commit
53b6744646
26
pkgs/development/tools/misc/teensy/default.nix
Normal file
26
pkgs/development/tools/misc/teensy/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -3771,6 +3771,8 @@ let
|
||||
|
||||
tcptrack = callPackage ../development/tools/misc/tcptrack { };
|
||||
|
||||
teensy-loader = callPackage ../development/tools/misc/teensy { };
|
||||
|
||||
texinfo413 = callPackage ../development/tools/misc/texinfo/4.13a.nix { };
|
||||
texinfo5 = callPackage ../development/tools/misc/texinfo/5.2.nix { };
|
||||
texinfo4 = texinfo413;
|
||||
|
Loading…
x
Reference in New Issue
Block a user