14 buildPythonPackage rec {
15 pname = "unifi-discovery";
19 disabled = pythonOlder "3.9";
21 src = fetchFromGitHub {
23 repo = "unifi-discovery";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-Ea+zxV2GUAaG/BxO103NhOLzzr/TNJaOsynDad2/2VA=";
29 substituteInPlace pyproject.toml \
30 --replace-fail "--cov=unifi_discovery --cov-report=term-missing:skip-covered" ""
33 build-system = [ poetry-core ];
46 pytestFlagsArray = [ "--asyncio-mode=auto" ];
48 pythonImportsCheck = [ "unifi_discovery" ];
51 description = "Module to discover Unifi devices";
52 homepage = "https://github.com/bdraco/unifi-discovery";
53 changelog = "https://github.com/bdraco/unifi-discovery/releases/tag/v${version}";
54 license = with licenses; [ asl20 ];
55 maintainers = with maintainers; [ fab ];
56 platforms = platforms.linux;