13 buildPythonPackage rec {
14 pname = "unifi-discovery";
18 disabled = pythonOlder "3.9";
20 src = fetchFromGitHub {
23 rev = "refs/tags/v${version}";
24 hash = "sha256-EQFk3kRY/JL1ZTDdHKzl0KbMUuhZSFc4tYqAYvsNSj0=";
31 propagatedBuildInputs = [
47 substituteInPlace pyproject.toml \
48 --replace "--cov=unifi_discovery --cov-report=term-missing:skip-covered" ""
51 pythonImportsCheck = [
56 description = "Module to discover Unifi devices";
57 homepage = "https://github.com/bdraco/unifi-discovery";
58 license = with licenses; [ asl20 ];
59 maintainers = with maintainers; [ fab ];