about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sense-energy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sense-energy/default.nix')
-rw-r--r--pkgs/development/python-modules/sense-energy/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/sense-energy/default.nix b/pkgs/development/python-modules/sense-energy/default.nix
index 61f1477c7c51..43836e882303 100644
--- a/pkgs/development/python-modules/sense-energy/default.nix
+++ b/pkgs/development/python-modules/sense-energy/default.nix
@@ -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 ];
   };