Robert Schütz
2025-11-16 09:25:42 -08:00
parent 74d29a0670
commit 7f1c6517bb

View File

@@ -8,22 +8,19 @@
pytest-asyncio, pytest-asyncio,
pytest-cov-stub, pytest-cov-stub,
pytestCheckHook, pytestCheckHook,
pythonOlder,
yarl, yarl,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "adguardhome"; pname = "adguardhome";
version = "0.7.0"; version = "0.8.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "frenck"; owner = "frenck";
repo = "python-${pname}"; repo = "python-${pname}";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-n55G6ulKcgSSrgPk70D52OO9fp3WURlcRhJQUKrZ1Nk="; hash = "sha256-pc7UfR/0mQZ98FyomQErz5hePHy6KE2h9UhJ9lFGtFA=";
}; };
postPatch = '' postPatch = ''
@@ -49,11 +46,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "adguardhome" ]; pythonImportsCheck = [ "adguardhome" ];
meta = with lib; { meta = {
description = "Python client for the AdGuard Home API"; description = "Python client for the AdGuard Home API";
homepage = "https://github.com/frenck/python-adguardhome"; homepage = "https://github.com/frenck/python-adguardhome";
changelog = "https://github.com/frenck/python-adguardhome/releases/tag/v${version}"; changelog = "https://github.com/frenck/python-adguardhome/releases/tag/v${version}";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ jamiemagee ]; maintainers = with lib.maintainers; [ jamiemagee ];
}; };
} }