Unverified Commit 783d1a8f authored by Theodore Ni's avatar Theodore Ni
Browse files

python3.pkgs.zigpy: add build dependencies and fix constraints

parent 08d24204
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
, pythonOlder
, setuptools
, voluptuous
, wheel
}:

buildPythonPackage rec {
@@ -32,11 +33,13 @@ buildPythonPackage rec {

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace '"setuptools-git-versioning<2"' "" \
      --replace 'dynamic = ["version"]' 'version = "${version}"'
  '';

  nativeBuildInputs = [
    setuptools
    wheel
  ];

  propagatedBuildInputs = [