Setup python env

This commit is contained in:
2026-07-26 19:59:10 +01:00
parent e0994b42c0
commit e188501d19
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -81,12 +81,20 @@
''; '';
}; };
pythonEnv = pkgs.python3.withPackages (
ps: with ps; [
pandas
matplotlib
]
);
in in
{ {
packages.${system} = { packages.${system} = {
default = misth; default = misth;
misth = misth; misth = misth;
mruby = mruby; mruby = mruby;
pythonEnv = pythonEnv;
}; };
devShells.${system}.default = pkgs.mkShell { devShells.${system}.default = pkgs.mkShell {
@@ -104,6 +112,9 @@
sdl3 sdl3
sdl3-ttf sdl3-ttf
sdl3-image sdl3-image
pythonEnv
ruff
]; ];
shellHook = '' shellHook = ''
+1 -1
View File
@@ -21,4 +21,4 @@ plt.legend()
plt.show() plt.show()
plt.savefig("benchmark.png", dpi=200, bbox_inches="tight") plt.savefig("benchmark.png", dpi=200, bbox_inches="tight")