9 stdenv.mkDerivation (finalAttrs: {
10 pname = "teensy-loader-cli";
13 src = fetchFromGitHub {
14 owner = "PaulStoffregen";
15 repo = "teensy_loader_cli";
16 rev = finalAttrs.version;
17 sha256 = "sha256-C9Qhd6LhAES7X0sh4rofjAM+gxwuosahVQHeR76LyIo=";
32 install -Dm555 teensy_loader_cli $out/bin/teensy-loader-cli
33 install -Dm444 -t $out/share/doc/teensy-loader-cli *.md *.txt
34 go-md2man -in README.md -out teensy-loader-cli.1
41 description = "Firmware uploader for the Teensy microcontroller boards";
42 mainProgram = "teensy-loader-cli";
43 homepage = "https://www.pjrc.com/teensy/";
44 license = licenses.gpl3Only;
45 platforms = platforms.unix;