about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zha-quirks
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-01-01 22:05:56 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-01-07 13:33:07 +0100
commit70df4c81386efebc4570b76dc065b4e35cf85a13 (patch)
treee75bde318af228020a67364935427f468c2cbddd /pkgs/development/python-modules/zha-quirks
parentc4d27d698a5925b94715ae8972d215e033023cd9 (diff)
python3Packages.zha-quirks: 0.0.47 -> 0.0.51
Fetch from GitHub as they removed tests from the PyPi tarball.
Diffstat (limited to 'pkgs/development/python-modules/zha-quirks')
-rw-r--r--pkgs/development/python-modules/zha-quirks/default.nix26
1 files changed, 17 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/zha-quirks/default.nix b/pkgs/development/python-modules/zha-quirks/default.nix
index 0c6ac7dbf4999..752d2eeda8d61 100644
--- a/pkgs/development/python-modules/zha-quirks/default.nix
+++ b/pkgs/development/python-modules/zha-quirks/default.nix
@@ -1,19 +1,27 @@
-{ lib, buildPythonPackage, fetchPypi
-, aiohttp, zigpy, conftest, asynctest
-, pytestCheckHook }:
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, aiohttp
+, zigpy
+, conftest
+, asynctest
+, pytestCheckHook
+}:
 
 buildPythonPackage rec {
   pname = "zha-quirks";
-  version = "0.0.47";
+  version = "0.0.51";
+
+  src = fetchFromGitHub {
+    owner = "zigpy";
+    repo = "zha-device-handlers";
+    rev = version;
+    sha256 = "14v01kclf096ax88cd6ckfs8gcffqissli9vpr0wfzli08afmbi9";
+  };
 
   propagatedBuildInputs = [ aiohttp zigpy ];
   checkInputs = [ pytestCheckHook conftest asynctest ];
 
-  src = fetchPypi {
-    inherit pname version;
-    sha256 = "bf7dbd5d1c1a3849b059e62afcef248b6955f5ceef78f87201ae2fc8420738de";
-  };
-
   meta = with lib; {
     description = "ZHA Device Handlers are custom quirks implementations for Zigpy";
     homepage = "https://github.com/dmulcahey/zha-device-handlers";