1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 13:12:05 +00:00
trezor-firmware/shell.nix
2019-09-24 12:03:11 +02:00

30 lines
403 B
Nix

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
'';
}