valconomy/controller/default.nix

32 lines
638 B
Nix
Raw Normal View History

{
perSystem = { libMy, pkgs, ... }: {
devenv.shells.controller = libMy.withRootdir {
languages = {
python = {
enable = true;
version = "3.13";
libraries = with pkgs; [
2024-12-11 18:59:17 +00:00
zlib # required by hidapi (?)
];
uv = {
enable = true;
sync.enable = true;
};
};
};
2024-12-12 13:34:53 +00:00
packages = with pkgs; [
imagemagick
];
env = { };
2024-12-12 13:34:53 +00:00
scripts = {
gen-icon.exec = ''
magick icon.png -resize 128x128 -define icon:auto-resize="128,96,64,48,32,16" icon.ico
'';
};
};
};
}