mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
7389fd597a
The policy testing tool conftest isn't used in any of the pytest tests.
32 lines
725 B
Nix
32 lines
725 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, aiohttp
|
|
, zigpy
|
|
, 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 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;
|
|
};
|
|
}
|