1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

nix: modify shell.nix to work with pipenv

This commit is contained in:
Tomas Susanka 2019-09-24 10:18:42 +02:00 committed by Pavol Rusnak
parent 78041d261b
commit 552e6c5d62
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -1,44 +1,29 @@
with import <nixpkgs> {}; with import <nixpkgs> {};
let stdenv.mkDerivation {
MyPython = python3.withPackages(ps: [ name = "trezor-firmware-dev";
ps.Mako buildInputs = [
ps.Pyro4 SDL2
ps.black SDL2_image
ps.coverage autoflake
ps.ed25519 check
ps.flake8 clang-tools
ps.flaky gcc
ps.graphviz gcc-arm-embedded
ps.isort gnumake
ps.mock graphviz
ps.munch libusb1
ps.pillow openssl
ps.pytest pipenv
ps.pytest-random-order pkgconfig
ps.trezor protobuf
]); scons
in valgrind
stdenv.mkDerivation { zlib
name = "trezor-firmware-dev"; ];
buildInputs = [ LD_LIBRARY_PATH="${libusb1}/lib";
MyPython shellHook = ''
SDL2 pipenv shell
SDL2_image exit
autoflake '';
check }
clang-tools
gcc
gcc-arm-embedded
gnumake
graphviz
openssl
pipenv
pkgconfig
protobuf
python2Packages.demjson
scons
valgrind
zlib
];
}