diff --git a/pkgs/development/python-modules/adguardhome/default.nix b/pkgs/development/python-modules/adguardhome/default.nix index 5dbaefc3db99..f7b9d512a34e 100644 --- a/pkgs/development/python-modules/adguardhome/default.nix +++ b/pkgs/development/python-modules/adguardhome/default.nix @@ -13,8 +13,8 @@ buildPythonPackage rec { pname = "adguardhome"; - version = "0.6.3"; - format = "pyproject"; + version = "0.7.0"; + pyproject = true; disabled = pythonOlder "3.11"; @@ -22,21 +22,18 @@ buildPythonPackage rec { owner = "frenck"; repo = "python-${pname}"; rev = "refs/tags/v${version}"; - hash = "sha256-V8SsWsGYmUhR9/yV6BZBK1UjYGHlDrXrF8nt0eZbTnI="; + hash = "sha256-n55G6ulKcgSSrgPk70D52OO9fp3WURlcRhJQUKrZ1Nk="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace "--cov" "" \ - --replace '"0.0.0"' '"${version}"' - - substituteInPlace tests/test_adguardhome.py \ - --replace 0.0.0 ${version} + --replace-fail "--cov" "" \ + --replace-fail '"0.0.0"' '"${version}"' ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp yarl ];