Merge pull request #292076 from mweinelt/home-assistant-chips-wheels-2024.2.1
python311Packages.home-assistant-chip-{core,clusters}: 2024.1.0 -> 2024.2.1; python-matter-server: 5.5.3 -> 5.7.0b1
This commit is contained in:
commit
b0c816c865
3 changed files with 15 additions and 10 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "home-assistant-chip-clusters";
|
pname = "home-assistant-chip-clusters";
|
||||||
version = "2024.1.0";
|
version = "2024.2.1";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||||
pname = "home_assistant_chip_clusters";
|
pname = "home_assistant_chip_clusters";
|
||||||
dist = "py3";
|
dist = "py3";
|
||||||
python = "py3";
|
python = "py3";
|
||||||
hash = "sha256-4btkqAHbwAsyGV1LjngEoeTT5qyI8dtqFVTp0lIFwmg=";
|
hash = "sha256-QMsfs9gUWeaz1LfMZF5J2OFVCPnuckZvvF9x5bQ5uZY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
# runtime
|
# runtime
|
||||||
, glib
|
, glib
|
||||||
, libnl
|
, libnl
|
||||||
, openssl_1_1
|
|
||||||
|
|
||||||
# propagates
|
# propagates
|
||||||
, aenum
|
, aenum
|
||||||
|
@ -29,7 +28,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "home-assistant-chip-core";
|
pname = "home-assistant-chip-core";
|
||||||
version = "2024.1.0";
|
version = "2024.2.1";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -38,11 +37,11 @@ buildPythonPackage rec {
|
||||||
system = {
|
system = {
|
||||||
"aarch64-linux" = {
|
"aarch64-linux" = {
|
||||||
name = "aarch64";
|
name = "aarch64";
|
||||||
hash = "sha256-UiikZ2DVhTqX6WYfiE8sp2e52BMlyoQnDjLap/efmNc=";
|
hash = "sha256-gHnTuiyCD9A9Ru8xhniNEpCyn+W9zYnCAoTJeGOW7TI=";
|
||||||
};
|
};
|
||||||
"x86_64-linux" = {
|
"x86_64-linux" = {
|
||||||
name = "x86_64";
|
name = "x86_64";
|
||||||
hash = "sha256-/+gegUMd2n7MpJvdilS5VWefXc0tuRcLrXBBXSH35b0=";
|
hash = "sha256-gKZKcCXQ8PvZAPV2QRQl+u+r95CVLBDDDgtC0MT7xw4=";
|
||||||
};
|
};
|
||||||
}.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
|
}.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
|
||||||
in fetchPypi {
|
in fetchPypi {
|
||||||
|
@ -62,7 +61,6 @@ buildPythonPackage rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
glib
|
||||||
libnl
|
libnl
|
||||||
openssl_1_1
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
# build
|
# build
|
||||||
, setuptools
|
, setuptools
|
||||||
|
, pythonRelaxDepsHook
|
||||||
|
|
||||||
# propagates
|
# propagates
|
||||||
, aiohttp
|
, aiohttp
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-matter-server";
|
pname = "python-matter-server";
|
||||||
version = "5.5.3";
|
version = "5.7.0b1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.10";
|
disabled = pythonOlder "3.10";
|
||||||
|
@ -38,16 +39,22 @@ buildPythonPackage rec {
|
||||||
owner = "home-assistant-libs";
|
owner = "home-assistant-libs";
|
||||||
repo = "python-matter-server";
|
repo = "python-matter-server";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-8daAABR5l8ZEX+PR4XrxRHlLllgnOVE4Q9yY/7UQXHw=";
|
hash = "sha256-icWp5DiUoTn1l0wNFk83jCpbVsb6MN2qM3QvI6uZaic=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'version = "0.0.0"' 'version = "${version}"'
|
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
||||||
|
--replace '--cov' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"home-assistant-chip-clusters"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue