1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 03:18:09 +00:00
trezor-firmware/shell.nix

30 lines
403 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
protobuf
scons
valgrind
zlib
];
LD_LIBRARY_PATH="${libusb1}/lib";
shellHook = ''
pipenv shell
exit
'';
}