aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/arduino/platformio/core.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/arduino/platformio/core.nix')
-rw-r--r--nixpkgs/pkgs/development/arduino/platformio/core.nix57
1 files changed, 41 insertions, 16 deletions
diff --git a/nixpkgs/pkgs/development/arduino/platformio/core.nix b/nixpkgs/pkgs/development/arduino/platformio/core.nix
index 0d333a49d37..835e0c692e4 100644
--- a/nixpkgs/pkgs/development/arduino/platformio/core.nix
+++ b/nixpkgs/pkgs/development/arduino/platformio/core.nix
@@ -9,33 +9,57 @@
let
args = lib.concatStringsSep " " ((map (e: "--deselect tests/${e}") [
"commands/test_ci.py::test_ci_boards"
- "commands/test_ci.py::test_ci_project_conf"
- "commands/test_ci.py::test_ci_lib_and_board"
"commands/test_ci.py::test_ci_build_dir"
"commands/test_ci.py::test_ci_keep_build_dir"
- "commands/test_init.py::test_init_enable_auto_uploading"
+ "commands/test_ci.py::test_ci_lib_and_board"
+ "commands/test_ci.py::test_ci_project_conf"
"commands/test_init.py::test_init_custom_framework"
- "commands/test_init.py::test_init_incorrect_board"
+ "commands/test_init.py::test_init_duplicated_boards"
+ "commands/test_init.py::test_init_enable_auto_uploading"
"commands/test_init.py::test_init_ide_atom"
"commands/test_init.py::test_init_ide_eclipse"
- "commands/test_init.py::test_init_duplicated_boards"
+ "commands/test_init.py::test_init_ide_vscode"
+ "commands/test_init.py::test_init_incorrect_board"
"commands/test_init.py::test_init_special_board"
- "commands/test_lib.py::test_search"
- "commands/test_lib.py::test_install_duplicates"
- "commands/test_lib.py::test_global_lib_update_check"
- "commands/test_lib.py::test_global_lib_update"
- "commands/test_lib.py::test_global_lib_uninstall"
- "commands/test_lib.py::test_lib_show"
- "commands/test_lib.py::test_lib_stats"
- "commands/test_lib.py::test_global_install_registry"
"commands/test_lib.py::test_global_install_archive"
+ "commands/test_lib.py::test_global_install_registry"
"commands/test_lib.py::test_global_install_repository"
"commands/test_lib.py::test_global_lib_list"
+ "commands/test_lib.py::test_global_lib_uninstall"
+ "commands/test_lib.py::test_global_lib_update"
+ "commands/test_lib.py::test_global_lib_update_check"
+ "commands/test_lib.py::test_install_duplicates"
+ "commands/test_lib.py::test_lib_show"
+ "commands/test_lib.py::test_lib_stats"
+ "commands/test_lib.py::test_saving_deps"
+ "commands/test_lib.py::test_search"
+ "commands/test_lib.py::test_update"
+ "commands/test_lib_complex.py::test_global_install_archive"
+ "commands/test_lib_complex.py::test_global_install_registry"
+ "commands/test_lib_complex.py::test_global_install_repository"
+ "commands/test_lib_complex.py::test_global_lib_list"
+ "commands/test_lib_complex.py::test_global_lib_uninstall"
+ "commands/test_lib_complex.py::test_global_lib_update"
+ "commands/test_lib_complex.py::test_global_lib_update_check"
+ "commands/test_lib_complex.py::test_install_duplicates"
+ "commands/test_lib_complex.py::test_lib_show"
+ "commands/test_lib_complex.py::test_lib_stats"
+ "commands/test_lib_complex.py::test_search"
"commands/test_test.py::test_local_env"
+ "commands/test_test.py::test_multiple_env_build"
+ "commands/test_test.py::test_setup_teardown_are_compilable"
+ "package/test_manager.py::test_download"
+ "package/test_manager.py::test_install_force"
+ "package/test_manager.py::test_install_from_registry"
+ "package/test_manager.py::test_install_lib_depndencies"
+ "package/test_manager.py::test_registry"
+ "package/test_manager.py::test_uninstall"
+ "package/test_manager.py::test_update_with_metadata"
+ "package/test_manager.py::test_update_without_metadata"
"test_builder.py::test_build_flags"
"test_builder.py::test_build_unflags"
- "test_builder.py::test_debug_default_build_flags"
"test_builder.py::test_debug_custom_build_flags"
+ "test_builder.py::test_debug_default_build_flags"
"test_misc.py::test_api_cache"
"test_misc.py::test_ping_internet_ips"
"test_misc.py::test_platformio_cli"
@@ -51,14 +75,14 @@ let
in buildPythonApplication rec {
pname = "platformio";
- version = "4.3.1";
+ version = "5.0.1";
# pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
src = fetchFromGitHub {
owner = "platformio";
repo = "platformio-core";
rev = "v${version}";
- sha256 = "1dxnjy60zpkgyrbvbf6b9qi6m37gm8gwjmxwfj30npr1y7rvxwrw";
+ sha256 = "01xh61ldilg6fg95l1p870rld2xffhnl9f9ndvbi5jdn8q634pmw";
};
propagatedBuildInputs = [
@@ -82,6 +106,7 @@ in buildPythonApplication rec {
patches = [
./fix-searchpath.patch
./use-local-spdx-license-list.patch
+ ./missing-udev-rules-nixos.patch
];
postPatch = ''