Commit 2c88b88c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.pyswitchbot: refactor

parent 1871e4cc
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
{ 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