NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.72k stars 13.16k forks source link

platformio needs some cleanup #38571

Open dotlambda opened 6 years ago

dotlambda commented 6 years ago

In #38483, pythonPackages.platformio was moved in order to be able to pin the click version. However, some further work is required to make the platformio packaging situation better:

/cc @mogorman @makefu

dotlambda commented 5 years ago

I'll probably end up doing this myself because I need platformio for https://esphomelib.com/esphomeyaml/. (See https://github.com/OttoWinter/esphomeyaml/blob/13eca6012d743ca559583af0c85607b0318572af/setup.py#L26.) I'll have to look into how I can turn platformio into a python module because it uses buildFHSUserEnv. If someone has any experience with this, feel free to tell me.

dotlambda commented 5 years ago

Actually, I might get away with patching platformio out of install_requires since it's only used as a binary, never imported: https://github.com/OttoWinter/esphomeyaml/blob/13eca6012d743ca559583af0c85607b0318572af/esphomeyaml/platformio_api.py#L15-L21

dotlambda commented 5 years ago

cc @peterhoeg

peterhoeg commented 5 years ago

I haven't used pio as a module - only as a standalone program for https://github.com/xoseperez/espurna.

But esphomeyaml looks neat!

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
pvonmoradi commented 2 years ago

Also, platformio supports more frameworks than only arduino so why is it under pkgs/development/arduino/?
Maybe it is better to put it under pkgs/development/python-modules/? Or maybe create a development/embedded/ dir and put arduino/ and platformio and other microcontroller/embedded-design packages there?
https://docs.platformio.org/en/latest//core/installation.html#installation-methods

133653

stale[bot] commented 2 years ago

I marked this as stale due to inactivity. → More info

dotlambda commented 2 years ago

cc @oxzi