nixpkgs/pkgs/development/python-modules/zha-quirks/default.nix
Martin Weinelt 70df4c8138
python3Packages.zha-quirks: 0.0.47 -> 0.0.51
Fetch from GitHub as they removed tests from the PyPi tarball.
2021-01-07 13:33:07 +01:00

33 lines
745 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, zigpy
, conftest
, asynctest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.51";
src = fetchFromGitHub {
owner = "zigpy";
repo = "zha-device-handlers";
rev = version;
sha256 = "14v01kclf096ax88cd6ckfs8gcffqissli9vpr0wfzli08afmbi9";
};
propagatedBuildInputs = [ aiohttp zigpy ];
checkInputs = [ pytestCheckHook conftest asynctest ];
meta = with lib; {
description = "ZHA Device Handlers are custom quirks implementations for Zigpy";
homepage = "https://github.com/dmulcahey/zha-device-handlers";
license = licenses.asl20;
maintainers = with maintainers; [ etu ];
platforms = platforms.linux;
};
}