2023-03-29 18:13:03 +02:00
|
|
|
{ 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
|
|
|
|
]))
|
2024-04-20 21:48:02 +02:00
|
|
|
pkgs.gcc-arm-embedded-11
|
2023-03-29 18:13:03 +02:00
|
|
|
pkgs.graphviz
|
|
|
|
] ++ ifLinux [
|
|
|
|
pkgs.bluez
|
|
|
|
];
|
|
|
|
}
|