Unverified Commit 02b05fb7 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python310Packages.zigpy: 0.56.1 -> 0.56.2

parent 4619083f
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -12,13 +12,14 @@
, pytest-timeout
, pytestCheckHook
, pythonOlder
, setuptools
, voluptuous
}:

buildPythonPackage rec {
  pname = "zigpy";
  version = "0.56.1";
  format = "setuptools";
  version = "0.56.2";
  format = "pyproject";

  disabled = pythonOlder "3.8";

@@ -26,9 +27,18 @@ buildPythonPackage rec {
    owner = "zigpy";
    repo = "zigpy";
    rev = "refs/tags/${version}";
    hash = "sha256-xOvRsnTv/5GhGRVM9M6zjkEWI5dq9rGVcoi5G+0LpDE=";
    hash = "sha256-VUnt2rk1nQZqmoS8ytBCX2q3E4zxSz2A0Hg7AUXmtJo=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'dynamic = ["version"]' 'version = "${version}"'
  '';

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    aiohttp
    aiosqlite