valconomy/controller/default.nix

31 lines
645 B
Nix

{
perSystem = { libMy, pkgs, ... }: {
devenv.shells.controller = libMy.withRootdir {
languages = {
python = {
enable = true;
version = "3.13";
libraries = with pkgs; [
zlib # required by hidapi (?)
];
uv = {
enable = true;
sync.enable = true;
};
};
};
packages = with pkgs; [ ];
env = { };
scripts = {
# build.exec = ''
# cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -D PICO_STDIO_SEMIHOSTING=1
# cmake --build build --parallel
# '';
};
};
};
}