Commit Graph

40 Commits

Author SHA1 Message Date
makefu
fa8d81f7ba
platformio: disable version check
reimplements #232356
2024-02-20 23:31:40 +01:00
David Stritzl
294f8c690c platformio-core: add missing dependency on aarch64-darwin
The chardet package was added as a dependency on aarch64-darwin
platforms upstream:
https://github.com/platformio/platformio-core/commit/9170eee
2024-02-01 21:47:05 +01:00
Nikita Pedorich
003d43d091
platformio-core: install shell completion 2023-12-19 20:42:53 +09:00
Martin Weinelt
6f2ef6811e platformio: 6.1.6 -> 6.1.11
https://github.com/platformio/platformio-core/releases/tag/v6.1.7
https://github.com/platformio/platformio-core/releases/tag/v6.1.8
https://github.com/platformio/platformio-core/releases/tag/v6.1.9
https://github.com/platformio/platformio-core/releases/tag/v6.1.10
https://github.com/platformio/platformio-core/releases/tag/v6.1.11

Fixes support for ESP-IDF among other plugins, by replacing the path
to the python interpreter with one that has all dependencies wrapped.

Closes: #227230
Co-Authored-By: Joerie de Gram <j.de.gram@gmail.com>
2023-12-16 08:27:46 +01:00
adisbladis
f88eb92ff9 platformio: Don't link udev rules into a subdirectory
This causes collisions when NixOS is configured like
``` nix
{ pkgs, ... }:
{
  services.udev.packages = [ pkgs.platformio ];
}
```

and would also cause a regression having to add the subirectory to the udev packages path:
``` nix
{ pkgs, ... }:
{
  services.udev.packages = [ (pkgs.platformio-core.udev + "/99-platformio-udev.rules") ];
}
```
2023-04-18 15:48:49 +12:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
adisbladis
41c97bd32b
Merge pull request #224175 from adisbladis/platformio-udev-multi
platformio: make multi-output
2023-04-12 21:40:36 +12:00
adisbladis
a758953c19 platformio: add ncurses
Running `pio check` with clang-tidy currently fails because of lacking libtinfo.
2023-04-12 19:15:47 +12:00
adisbladis
bd3361bcfb platformio: ensure coherent python interpreter with platformio-core 2023-04-01 19:34:06 +13:00
adisbladis
fcbc5d74e7 platformio-core: move src & version to main expression 2023-04-01 19:34:06 +13:00
adisbladis
8d8dd6fdbf platformio: make multi-output
Currently udev rules symlinks against platformio sources, pulling in the platformio source tree into the runtime closure.
Previous to platformio-core being exposed separately from platformio this also meant that you had no ergonomic way to avoid platformio in the system closure, even though you only wanted the udev rules.

We can avoid this by making platformio-core multi output, making it trivial to depend only on the udev rules.
2023-04-01 19:34:05 +13:00
Andrew Childs
119a521977 platformio-core: expose unwrapped platformio as platformio-core
PlatformIO is a pure python package that is in turn a package
manager. In a pure NixOS environment, this means that any downloaded
binary packages will not run. To make PlatformIO usable, there's a
chrootenv wrapper. However, in a mixed environment like other linux or
darwin, the pure python version will work, and in the case of darwin
only the pure version will work, since the chrootenv wrapper is not
supported.

To handle the above use cases we have:

 * platformio -- unwrapped on darwin, wrapped on linux. Should always
                 provide a functional platformio.

 * platformio-core -- always unwrapped (like "bintools-unwrapped") for
                      when the wrapper is explicitly not required. For
                      example, on other linux where the chrootenv is
                      not supported.
2023-04-01 13:13:15 +09:00
Martin Weinelt
b9420fd0d2
platformio: Fix version specifiers 2023-03-09 17:36:45 +01:00
Jos van Bakel
4271c9ca59
platformio: fix udev path 2023-01-27 11:57:45 +01:00
Alvar Penning
9f0ca1220a platformio: 6.1.5 -> 6.1.6
https://github.com/platformio/platformio-core/releases/tag/v6.1.6
2023-01-23 15:47:42 +01:00
Martin Weinelt
62b9dc3abb
platformio: Relax starlette constraint 2023-01-21 21:22:59 +00:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Robert Schütz
354e079535 platformio: relax uvicorn constraint 2022-12-20 14:01:53 -08:00
arcnmx
b5bf049ab1 platformio: 6.1.4 -> 6.1.5 2022-11-08 07:01:42 -08:00
arcnmx
6a01d889b3 platformio: unmark as broken on aarch64-linux 2022-11-07 07:48:42 -08:00
arcnmx
a3b7b770ce platformio: work around fallout from #194205
fixes #198319
2022-11-01 11:52:31 -07:00
Martin Weinelt
09b2bf488f platformio: relax wsproto constraint 2022-09-19 10:37:50 +02:00
BattleCh1cken
2b7997e91e Update platformio 2022-08-16 11:58:12 -04:00
Sandro Jäckel
94c1f11caa platformio: 6.0.1 -> 6.0.2 2022-07-21 22:35:25 +02:00
Sandro Jäckel
eb09880cbb platformio: relax uvicorn 2022-07-21 22:33:36 +02:00
Enno Richter
e8f68df62a platformio: unset broken on aarch64 2022-07-19 17:40:33 +08:00
Peter Hoeg
1b467b894b platformio: needs xdg-user-dirs 2022-06-05 17:37:35 +02:00
Alvar Penning
6bca93ce69 platformio: 5.2.5 -> 6.0.1
<https://github.com/platformio/platformio-core/releases/tag/v6.0.0>
<https://github.com/platformio/platformio-core/releases/tag/v6.0.1>
2022-05-19 22:37:02 +02:00
Martin Weinelt
87658e75f3 platformio: relax dependency constraints 2022-03-14 00:29:07 +01:00
Alvar Penning
9b87a77964 platformio: 5.2.4 -> 5.2.5 2022-03-05 14:45:39 +01:00
c0bw3b
68e8e30670 platformio: use json output of spdx-license-list-data
And update meta.homepage (permanent redirect on http://)
2022-03-02 23:27:56 +01:00
Martin Weinelt
cc9f4a4075
platformio: relax zeroconf constraint 2021-12-28 14:15:23 +01:00
Alvar Penning
a7c72bdc91 platformio: 5.2.3 -> 5.2.4 2021-12-15 17:53:34 +01:00
Fabian Affolter
398168af52 platformio: override zeroconf 2021-11-25 10:49:51 +01:00
Alvar Penning
848860d241 platformio: 5.2.1 -> 5.2.3
Next to bumping the patch version, two changed dependencies were pinned.
Furthermore, the SPDX patch was altered to correctly close the JSON file
as non-closed files are now also covered by the tests.
2021-11-08 18:29:16 +01:00
Alvar Penning
3fe7d87b76 platformio: 5.1.2 -> 5.2.1 2021-10-18 15:57:26 +02:00
Sandro Jäckel
4e285168fe platformio: remove 32bit packages to unbreak 2021-09-05 15:00:36 +02:00
Sandro Jäckel
6f7e762202 platformio: pin ajsonrpc dependency 2021-09-05 15:00:35 +02:00
Fabian Affolter
24017b0b1c platformio: update override 2021-08-24 11:18:30 +02:00
Pooya Moradi
08d9ac46db platformio: move the directory to pkgs/development/embedded/ 2021-08-16 15:29:57 +04:30