Something went wrong. Try again.
lol
Something went wrong. Try again.
927 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, hatchling, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "hole"; version = "0.9.1"; pyproject = true;
src = fetchFromGitHub { owner = "home-assistant-ecosystem"; repo = "python-hole"; tag = finalAttrs.version; hash = "sha256-rIKb6GeULi2ooNtWD2a23JQxO9HkXiUYy0AroYeVeKU="; };
build-system = [ hatchling ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "hole" ];
meta = { description = "Python API for interacting with a Pihole instance"; homepage = "https://github.com/home-assistant-ecosystem/python-hole"; changelog = "https://github.com/home-assistant-ecosystem/python-hole/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };})