diff --git a/pkgs/development/python-modules/hatasmota/default.nix b/pkgs/development/python-modules/hatasmota/default.nix index 50adb88f9156..640030b8eac2 100644 --- a/pkgs/development/python-modules/hatasmota/default.nix +++ b/pkgs/development/python-modules/hatasmota/default.nix @@ -1,5 +1,6 @@ { lib, + aiohttp, attrs, buildPythonPackage, fetchFromGitHub, @@ -10,21 +11,22 @@ buildPythonPackage rec { pname = "hatasmota"; - version = "0.9.2"; + version = "0.10.0"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "emontnemery"; - repo = pname; + repo = "hatasmota"; tag = version; - hash = "sha256-m40ZK1+cfWgrwWftFqExUZidCrbDMC1Sfshugqrp5QM="; + hash = "sha256-T4C0lgVKmlHHuVPzrqC3Mm089TfzY2JCZK73be1W5+w="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ + aiohttp attrs voluptuous ]; @@ -38,7 +40,7 @@ buildPythonPackage rec { description = "Python module to help parse and construct Tasmota MQTT messages"; homepage = "https://github.com/emontnemery/hatasmota"; changelog = "https://github.com/emontnemery/hatasmota/releases/tag/${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }