python311Packages.sense-energy: 0.11.2 -> 0.12.0

Diff: https://github.com/scottbonline/sense/compare/refs/tags/0.11.2...0.12.0

Changelog: https://github.com/scottbonline/sense/releases/tag/0.12.0
This commit is contained in:
Fabian Affolter 2023-06-25 09:55:15 +02:00
parent b5406e4961
commit bb2a5aa975

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, aiohttp
, async-timeout
, kasa-crypt
, orjson
, pythonOlder
, requests
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "sense-energy";
version = "0.11.2";
version = "0.12.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "scottbonline";
repo = "sense";
rev = "refs/tags/${version}";
hash = "sha256-i6XI6hiQTOGHB4KcDgz/MlYAhdEKaElLfNMq2R0fgu8=";
hash = "sha256-LVpTB7Q78N/cRbneJJ1aT+lFE790ssdMHo8VRirtDHY=";
};
postPatch = ''
@ -32,6 +33,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
async-timeout
kasa-crypt
orjson
requests
websocket-client
@ -48,6 +50,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "API for the Sense Energy Monitor";
homepage = "https://github.com/scottbonline/sense";
changelog = "https://github.com/scottbonline/sense/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};