Fabian Affolter 2023-09-10 14:30:14 +02:00
parent 964006733a
commit d1dabb4be4

View File

@ -4,7 +4,6 @@
, awesomeversion
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, protobuf
, pytest-asyncio
@ -14,7 +13,7 @@
buildPythonPackage rec {
pname = "python-homewizard-energy";
version = "2.0.2";
version = "2.1.0";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -23,18 +22,9 @@ buildPythonPackage rec {
owner = "DCSBL";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-XTSnIL/hBL1Rsyv/tBce/WCvA3n7mZern0v3i6gTOeA=";
hash = "sha256-+RuUNH95Txs6JeObYqg2CQl7qxF4YLVQvBDfzj5L9Bk=";
};
patches = [
# https://github.com/DCSBL/python-homewizard-energy/pull/235
(fetchpatch {
name = "remove-setuptools-dependency.patch";
url = "https://github.com/DCSBL/python-homewizard-energy/commit/b006b0bc1f3d0b4a7569654a1afa90dd4cffaf18.patch";
hash = "sha256-WQeepxiYnBfFcQAmrc3pavBz5j1Qo0HmUcOxsK/pr50=";
})
];
nativeBuildInputs = [
poetry-core
];