1
0
Fork 0
wasp-os/tools/nix/shell.nix
Francesco Gazzetta 749fe3432f
Some checks failed
wasp-os binary distribution / build (push) Has been cancelled
wasp-os simulator tests / build (push) Has been cancelled
Pin GCC 11 in nix shell
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-04-22 12:34:34 +01:00

36 lines
633 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
# wasptool and ota-dfu only work on linux, and their dependencies prevent the
# shell to evaluate on darwin
ifLinux = pkgs.lib.optionals pkgs.stdenv.isLinux;
in pkgs.mkShell {
nativeBuildInputs = [
(pkgs.python3.withPackages (pp: with pp; [
cbor
click
cryptography
dbus-python
numpy
pexpect
pillow
pygobject3
pysdl2
pyserial
tomli
pytest
# Docs
recommonmark
sphinx
] ++ ifLinux [
bluepy
]))
pkgs.gcc-arm-embedded-11
pkgs.graphviz
] ++ ifLinux [
pkgs.bluez
];
}