Unverified Commit 197035e8 authored by Martin Weinelt's avatar Martin Weinelt
Browse files
parent eb52b838
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5,12 +5,12 @@

buildPythonPackage rec {
  pname = "esphome-dashboard";
  version = "20230904.0";
  version = "20231107.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-b+NlWekNXbGvhLQlQqFtSSsO99J+ldS6NddlK3lykeA=";
    hash = "sha256-84iM987nxNidMObnbY3lt78xRbN9USNtqQzfOzkd17k=";
  };

  # no tests
+6 −5
Original line number Diff line number Diff line
{ lib
, callPackage
, python3
, python3Packages
, fetchFromGitHub
, platformio
, esptool_3
@@ -8,7 +8,7 @@
}:

let
  python = python3.override {
  python = python3Packages.python.override {
    packageOverrides = self: super: {
      esphome-dashboard = self.callPackage ./dashboard.nix {};
    };
@@ -16,14 +16,14 @@ let
in
python.pkgs.buildPythonApplication rec {
  pname = "esphome";
  version = "2023.10.6";
  version = "2023.11.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-GqZSQVQnxLj0JrUrCMB5+RmxcJRU6ErIDGP8WaMolXk=";
    hash = "sha256-965gjYQmdsx4G4HJdBYx8u1jvAk48fLRP8QXDv1eQLM=";
  };

  postPatch = ''
@@ -45,6 +45,7 @@ python.pkgs.buildPythonApplication rec {
  # - validate_pillow_installed
  propagatedBuildInputs = with python.pkgs; [
    aioesphomeapi
    argcomplete
    click
    colorama
    cryptography
@@ -72,7 +73,7 @@ python.pkgs.buildPythonApplication rec {
    "--set ESPHOME_USE_SUBPROCESS ''"
  ];

  nativeCheckInputs = with python.pkgs; [
  nativeCheckInputs = with python3Packages; [
    hypothesis
    mock
    pytest-asyncio