python3Packages.aresponses: 2.1.0 -> 2.1.2

This commit is contained in:
Fabian Affolter 2021-01-18 20:43:31 +01:00
parent aa4a14b7ad
commit 0bc72a58b2
1 changed files with 7 additions and 3 deletions

View File

@ -5,12 +5,13 @@
, isPy3k , isPy3k
, pytest , pytest
, pytest-asyncio , pytest-asyncio
, pytest-cov
, pytestCheckHook , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aresponses"; pname = "aresponses";
version = "2.1.0"; version = "2.1.2";
disabled = !isPy3k; disabled = !isPy3k;
@ -18,7 +19,7 @@ buildPythonPackage rec {
owner = "CircleUp"; owner = "CircleUp";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0dc1y4s6kpmr0ar63kkyghvisgbmb8qq5wglmjclrpzd5180mjcl"; sha256 = "007wrk4wdy97a81imgzxd6sm5dly9v7abmxh9fyfi0vp1p7s75bw";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -32,8 +33,9 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
aiohttp aiohttp
pytestCheckHook
pytest-asyncio pytest-asyncio
pytest-cov
pytestCheckHook
]; ];
# Disable tests which requires network access # Disable tests which requires network access
@ -42,6 +44,8 @@ buildPythonPackage rec {
"test_passthrough" "test_passthrough"
]; ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "aresponses" ]; pythonImportsCheck = [ "aresponses" ];
meta = with lib; { meta = with lib; {