1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00
trezor-firmware/shell.nix
2019-10-02 13:07:48 +00:00

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