Unverified Commit 651116f7 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #261426 from NixOS/home-assistant

home-assistant: 2023.10.1 -> 2023.10.3
parents 81cec3f6 391e4ef5
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
{ lib
, async-timeout
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pytest-asyncio
, pytest-sugar
, pytest-timeout
, pytestCheckHook
, pythonOlder
@@ -12,7 +12,7 @@

buildPythonPackage rec {
  pname = "pylutron-caseta";
  version = "0.18.2";
  version = "0.18.3";
  format = "pyproject";

  disabled = pythonOlder "3.8";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
    owner = "gurumitts";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-GyYJZIjvy4JYNCUUJpQxt32U8lMS/iQoz4llbCmJQhU=";
    hash = "sha256-tjmMu7LUne+hLLTXGqHhci9/PZiuQ10mQaARvL2sdIM=";
  };

  nativeBuildInputs = [
@@ -34,9 +34,10 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    pytest-asyncio
    pytest-sugar
    pytest-timeout
    pytestCheckHook
  ] ++ lib.optionals (pythonOlder "3.11") [
    async-timeout
  ];

  pytestFlagsArray = [
+0 −45
Original line number Diff line number Diff line
{ lib
, aiohttp
, buildPythonPackage
, cryptography
, fetchPypi
, poetry-core
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pymazda";
  version = "0.3.11";
  format = "pyproject";

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-DiXLY4mfgRbE0Y1tOJnkMSQQj1vcySLVDBthOWe7/dM=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  propagatedBuildInputs = [
    aiohttp
    cryptography
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "pymazda"
  ];

  meta = with lib; {
    description = "Python client for interacting with the MyMazda API";
    homepage = "https://github.com/bdr99/pymazda";
    changelog = "https://github.com/bdr99/pymazda/releases/tag/${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+1 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
# Do not edit!

{
  version = "2023.10.1";
  version = "2023.10.3";
  components = {
    "3_day_blinds" = ps: with ps; [
    ];
@@ -2485,7 +2485,6 @@
      maxcube-api
    ];
    "mazda" = ps: with ps; [
      pymazda
    ];
    "meater" = ps: with ps; [
      meater-python
+3 −3
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ let
  extraBuildInputs = extraPackages python.pkgs;

  # Don't forget to run parse-requirements.py after updating
  hassVersion = "2023.10.1";
  hassVersion = "2023.10.3";

in python.pkgs.buildPythonApplication rec {
  pname = "homeassistant";
@@ -312,7 +312,7 @@ in python.pkgs.buildPythonApplication rec {
  # Primary source is the pypi sdist, because it contains translations
  src = fetchPypi {
    inherit pname version;
    hash = "sha256-3VkV5DirOzLO9Qbo4s5of5Aie7JvSAN7hgHBTA8koAE=";
    hash = "sha256-7Eg6Ik8eiPPUTXyRedQLixaCnHDg9Dmikmhcq55+458=";
  };

  # Secondary source is git for tests
@@ -320,7 +320,7 @@ in python.pkgs.buildPythonApplication rec {
    owner = "home-assistant";
    repo = "core";
    rev = "refs/tags/${version}";
    hash = "sha256-mzj4JJ81Wr5FO1lVVwHlgnS3olxzXzMw0lFYPbTf634=";
    hash = "sha256-4J1BBC6PvfbN4fKD+zUpW19sMvoKALilitNJlwB0ZTk=";
  };

  nativeBuildInputs = with python.pkgs; [
+1 −0
Original line number Diff line number Diff line
@@ -285,6 +285,7 @@ mapAliases ({
  pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
  PyLD = pyld; # added 2022-06-22
  pymatgen-lammps = throw "pymatgen-lammps has been removed because it is unmaintained and broken"; # added 2023-06-20
  pymazda = throw "pymazda has been removed, because the upstream repo has been affected by a DCMA claim."; # added 2023-10-16
  pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0
  pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
  PyMVGLive = pymvglive; # added 2023-02-19
Loading