python3Packages.pytest-aiohttp: 1.0.3 -> 1.0.4

https://github.com/aio-libs/pytest-aiohttp/blob/v1.0.4/CHANGES.rst
This commit is contained in:
Robert Schütz 2022-02-12 21:38:47 +00:00 committed by Robert Schütz
parent 9fc849704f
commit 0eb22f6abc

View File

@ -1,7 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
, setuptools-scm , setuptools-scm
, aiohttp , aiohttp
, pytest , pytest
@ -11,29 +10,27 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-aiohttp"; pname = "pytest-aiohttp";
version = "1.0.3"; version = "1.0.4";
format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-DI/rSNyOuAhw4rFTrK9iu7zCB5d+vLdDZf/P4WrcnxU="; sha256 = "39ff3a0d15484c01d1436cbedad575c6eafbf0f57cdf76fb94994c97b5b8c5a4";
}; };
patches = [
# https://github.com/aio-libs/pytest-aiohttp/pull/26
(fetchpatch {
name = "fix-tests-with-pytest-asyncio-0.18.0.patch";
url = "https://github.com/aio-libs/pytest-aiohttp/commit/97152c2dfdd368f799ec6bcb5fc315736a726f53.patch";
hash = "sha256-g7MTyCKUHnufOfrbhVV58WtfbGt1uXx8F7U9U+EaXfg=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
setuptools-scm setuptools-scm
]; ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
buildInputs = [
pytest
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
pytest
pytest-asyncio pytest-asyncio
]; ];
@ -43,6 +40,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/aio-libs/pytest-aiohttp/"; homepage = "https://github.com/aio-libs/pytest-aiohttp/";
changelog = "https://github.com/aio-libs/pytest-aiohttp/blob/v${version}/CHANGES.rst";
description = "Pytest plugin for aiohttp support"; description = "Pytest plugin for aiohttp support";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ]; maintainers = with maintainers; [ dotlambda ];