Merge pull request #261426 from NixOS/home-assistant

home-assistant: 2023.10.1 -> 2023.10.3
This commit is contained in:
Martin Weinelt 2023-10-16 18:04:14 +02:00 committed by GitHub
commit 651116f78e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 56 deletions

View File

@ -1,9 +1,9 @@
{ 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 = [

View File

@ -1,45 +0,0 @@
{ 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 ];
};
}

View File

@ -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

View File

@ -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; [

View File

@ -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

View File

@ -10352,8 +10352,6 @@ self: super: with self; {
pymavlink = callPackage ../development/python-modules/pymavlink { };
pymazda = callPackage ../development/python-modules/pymazda { };
pymbolic = callPackage ../development/python-modules/pymbolic { };
pymc = callPackage ../development/python-modules/pymc { };