kivy-smoothie-host icon indicating copy to clipboard operation
kivy-smoothie-host copied to clipboard

add a shell.nix

Open evils opened this issue 1 year ago • 1 comments

this makes it a lot easier to set up an environment that has the dependencies (with Nix installed, one only has to invoke nix-shell and you can run python3 main.py)

i had a bunch more dependencies in this, but removing them seems to make no difference to the startup info i assume the kivy package supplies most of the ones that are actually needed at runtime

setuptools
gst-python
pillow
SDL2
pkg-config
libGL
gst_all_1.gstreamer
git
mtdev
xsel

i don't have a smoothieboard at hand yet to confirm any functionality beyond starting smoopi though

evils avatar Dec 03 '22 19:12 evils

tested this, seems to work

i also added a shebang to, and made main.py executable so now usage is as simple as nix-shell --run './main.py'

evils avatar Jan 05 '23 04:01 evils