1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 09:38:08 +00:00
trezor-firmware/ci/hardware_tests/default.nix
Marek Mahut 4264e87319 ci: add hardware tests for T1
This enables to run device tests against an actual device connected to
our CI. It uses https://github.com/mmahut/tpmb to enter bootloader and
then it uploads a debug firmware to the device. The debug mode is the
used to "click" the buttons but we might improve this and actually use
the hardware buttons instead.
2020-04-10 11:23:07 +02:00

15 lines
248 B
Nix

with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "trezor-firmware-hardware-tests";
buildInputs = [
uhubctl
ffmpeg
pipenv
libusb1
dejavu_fonts
];
LD_LIBRARY_PATH = "${libusb1}/lib";
NIX_ENFORCE_PURITY = 0;
}