1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 10:58:21 +00:00
trezor-firmware/shell.nix

30 lines
406 B
Nix
Raw Normal View History

with import <nixpkgs> {};
stdenv.mkDerivation {
name = "trezor-firmware-dev";
buildInputs = [
SDL2
SDL2_image
autoflake
check
clang-tools
gcc
gcc-arm-embedded
gnumake
graphviz
libusb1
openssl
pipenv
pkgconfig
protobuf3_6
scons
valgrind
zlib
];
LD_LIBRARY_PATH="${libusb1}/lib";
shellHook = ''
pipenv shell
exit
'';
}