Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix packaging question #27

Open
mevatron opened this issue Jan 29, 2025 · 2 comments
Open

Nix packaging question #27

mevatron opened this issue Jan 29, 2025 · 2 comments

Comments

@mevatron
Copy link

First off thanks for making this tool! It worked great for flashing my CB3S chip with ESPHome 😁 I am a NixOS user, and wanted to make your tool available to the wider Nix community, so I have a PR up here for that: NixOS/nixpkgs#363371

I was curious if you knew if the py-datastruct changes in v2.0.0 would be a large breaking change for this project or not?

Thanks for your help!

@kuba2k2
Copy link
Member

kuba2k2 commented Jan 29, 2025

DataStruct in bk7231tools is only used for analyzing/extracting storage data. I don't think there are any breaking changes in 2.0.0 that would affect this project.

I see you also want to add ltchiptool as a package. I don't know if NixOS supports package installation using pip, but ltchiptool's plugin functionality depends on that. Also note that there are some packages required for the GUI version only.

@mevatron
Copy link
Author

mevatron commented Feb 9, 2025

@kuba2k2 Thanks for the quick response! I'll work on testing out the v2.0.0 upgrade now that the PR snapshot is into master. For ltchiptool I did notice that the pip based runtime downloads might cause an issue, but I need to take a look at the esphome and platformio nixpkgs to see how they are dealing with that kind of thing. I also think I may have fixed the segfault crash when opening the Plugins tab on Linux. I'll try to open a PR over on ltchiptool soon to see if that still works on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants