blob: db86f1a56d6e9f36196f86a07e6737ab59216aa8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
};
}
|