mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
4264e87319
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.
15 lines
248 B
Nix
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;
|
|
}
|