diff --git a/pkgs/development/python-modules/pytest-aiohttp/default.nix b/pkgs/development/python-modules/pytest-aiohttp/default.nix index ba963a0b67b7..0952681a5135 100644 --- a/pkgs/development/python-modules/pytest-aiohttp/default.nix +++ b/pkgs/development/python-modules/pytest-aiohttp/default.nix @@ -10,9 +10,9 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytest-aiohttp"; - version = "1.1.0"; + version = "1.1.1"; pyproject = true; __darwinAllowLocalNetworking = true; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "aio-libs"; repo = "pytest-aiohttp"; - tag = "v${version}"; - hash = "sha256-5xUY3SVaoZzCZE/qfAP4R49HbtBMYj5jMN5viLEzEkM="; + tag = "v${finalAttrs.version}"; + hash = "sha256-SYMwVmcgPLOasW6TQGqqNO+sbp8zQQtDHb3IyAVO6KI="; }; build-system = [ @@ -45,9 +45,9 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/aio-libs/pytest-aiohttp/"; - changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/${src.rev}/CHANGES.rst"; + changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/${finalAttrs.src.tag}/CHANGES.rst"; description = "Pytest plugin for aiohttp support"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +})