2022-12-23T12:34:33 esphome 2022.6.0 -> 2022.12.3 https://pypi.org/project/esphome/ 2022-12-23T12:34:35 attrpath: esphome 2022-12-23T12:34:35 Checking auto update branch... 2022-12-23T12:34:38 [version] 2022-12-23T12:34:38 [version] skipping because derivation has updateScript 2022-12-23T12:34:38 [rustCrateVersion] 2022-12-23T12:34:38 [rustCrateVersion] No cargoSha256 found 2022-12-23T12:34:38 [golangModuleVersion] 2022-12-23T12:34:38 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-12-23T12:34:38 [updateScript] 2022-12-23T12:34:43 [updateScript] Success 2022-12-23T12:34:43 [updateScript] these 2 derivations will be built: /nix/store/mpf01r911a6jwvkk4vqgmylqwv5lqxx8-update-esphome.drv /nix/store/d2kymq8ynddz4i4254dws21gpp3gcfcx-packages.json.drv building '/nix/store/mpf01r911a6jwvkk4vqgmylqwv5lqxx8-update-esphome.drv'... building '/nix/store/d2kymq8ynddz4i4254dws21gpp3gcfcx-packages.json.drv'... Going to be running update for following packages: - esphome-2022.12.1 Press Enter key to continue... Running update for: - esphome-2022.12.1: UPDATING ... - esphome-2022.12.1: DONE. Packages updated! 2022-12-23T12:34:43 2022-12-23T12:34:43 [quotedUrls] 2022-12-23T12:34:43 [quotedUrls] nothing found to replace 2022-12-23T12:34:43 Diff after rewrites: diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index 7f3ba8ea31a..87cf267afc0 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -15,14 +15,14 @@ let in with python.pkgs; buildPythonApplication rec { pname = "esphome"; - version = "2022.12.1"; + version = "2022.12.3"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-gDAwZhfkXMqU4dbowpPhNl52Kg3Kx9lgBNzhzkQPrN0="; + hash = "sha256-9yyfcygEmnOcaooSg9bmGGOP2aph0i6d/Ot4nGlTPw4="; }; postPatch = '' 2022-12-23T12:36:09 Old version 2022.12.1" not present in master derivation file with contents: { lib , python3 , fetchFromGitHub , platformio , esptool_3 , git }: let python = python3.override { packageOverrides = self: super: { esphome-dashboard = self.callPackage ./dashboard.nix {}; }; }; in with python.pkgs; buildPythonApplication rec { pname = "esphome"; version = "2022.12.3"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-9yyfcygEmnOcaooSg9bmGGOP2aph0i6d/Ot4nGlTPw4="; }; postPatch = '' # remove all version pinning (E.g tornado==5.1.1 -> tornado) sed -i -e "s/==[0-9.]*//" requirements.txt # drop coverage testing sed -i '/--cov/d' pytest.ini ''; # Remove esptool and platformio from requirements ESPHOME_USE_SUBPROCESS = ""; # esphome has optional dependencies it does not declare, they are # loaded when certain config blocks are used, like `font`, `image` # or `animation`. # They have validation functions like: # - validate_cryptography_installed # - validate_pillow_installed propagatedBuildInputs = [ aioesphomeapi click colorama cryptography esphome-dashboard ifaddr kconfiglib paho-mqtt pillow protobuf pyserial pyyaml requests tornado tzdata tzlocal voluptuous ]; makeWrapperArgs = [ # platformio is used in esphomeyaml/platformio_api.py # esptool is used in esphomeyaml/__main__.py # git is used in esphomeyaml/writer.py "--prefix PATH : ${lib.makeBinPath [ platformio esptool_3 git ]}" "--set ESPHOME_USE_SUBPROCESS ''" ]; checkInputs = [ hypothesis mock pytest-asyncio pytest-mock pytest-sugar pytestCheckHook ]; disabledTestPaths = [ # requires hypothesis 5.49, we have 6.x # ImportError: cannot import name 'ip_addresses' from 'hypothesis.provisional' "tests/unit_tests/test_core.py" "tests/unit_tests/test_helpers.py" ]; postCheck = '' $out/bin/esphome --help > /dev/null ''; passthru = { dashboard = esphome-dashboard; updateScript = callPackage ./update.nix {}; }; meta = with lib; { description = "Make creating custom firmwares for ESP32/ESP8266 super easy"; homepage = "https://esphome.io/"; license = with licenses; [ mit # The C++/runtime codebase of the ESPHome project (file extensions .c, .cpp, .h, .hpp, .tcc, .ino) gpl3Only # The python codebase and all other parts of this codebase ]; maintainers = with maintainers; [ globin hexa ]; }; }