teensy-loader-cli: build on macos

This commit is contained in:
Matthew Bauer 2018-10-20 15:36:50 -05:00
parent a33d122be6
commit 991e51a1f6

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "1a663bv3lvm7bsf2wcaj2c0vpmniak7w5hwix5qgz608bvm2v781"; sha256 = "1a663bv3lvm7bsf2wcaj2c0vpmniak7w5hwix5qgz608bvm2v781";
}; };
buildInputs = [ unzip libusb ]; buildInputs = [ libusb ];
installPhase = '' installPhase = ''
install -Dm755 teensy_loader_cli $out/bin/teensy-loader-cli install -Dm755 teensy_loader_cli $out/bin/teensy-loader-cli
@ -21,6 +21,6 @@ stdenv.mkDerivation {
description = "Firmware uploader for the Teensy microcontroller boards"; description = "Firmware uploader for the Teensy microcontroller boards";
homepage = https://www.pjrc.com/teensy/; homepage = https://www.pjrc.com/teensy/;
maintainers = with maintainers; [ the-kenny ]; maintainers = with maintainers; [ the-kenny ];
platforms = platforms.linux; platforms = platforms.unix;
}; };
} }