python311Packages.pyswitchbot: refactor

This commit is contained in:
Fabian Affolter 2024-01-02 13:54:17 +01:00
parent 1871e4ccb6
commit 2c88b88c1b

View file

@ -1,5 +1,4 @@
{ lib
, async-timeout
, bleak
, bleak-retry-connector
, boto3
@ -10,12 +9,13 @@
, pythonOlder
, pytestCheckHook
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "pyswitchbot";
version = "0.43.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -26,8 +26,11 @@ buildPythonPackage rec {
hash = "sha256-+YolfvzyJVZ+EkEmPrmAXUbttxYzCFl5DT3nUaUCnuc=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
async-timeout
bleak
bleak-retry-connector
boto3