python3Packages.aresponses: 2.1.4 -> 2.1.5

authored by Fabian Affolter and committed by Jonathan Ringer 04811c34 1fdd3a53

+10 -8
+10 -8
pkgs/development/python-modules/aresponses/default.nix
··· 2 , aiohttp 3 , buildPythonPackage 4 , fetchFromGitHub 5 - , isPy3k 6 , pytest 7 , pytest-asyncio 8 - , pytest-cov 9 , pytestCheckHook 10 }: 11 12 buildPythonPackage rec { 13 pname = "aresponses"; 14 - version = "2.1.4"; 15 16 - disabled = !isPy3k; 17 18 src = fetchFromGitHub { 19 owner = "CircleUp"; 20 repo = pname; 21 rev = version; 22 - sha256 = "sha256-crMiMZ2IDuYDFt8Bixg3NRhlUa2tqmfzd7ZeHM+2Iu4="; 23 }; 24 25 propagatedBuildInputs = [ ··· 34 checkInputs = [ 35 aiohttp 36 pytest-asyncio 37 - pytest-cov 38 pytestCheckHook 39 ]; 40 41 - # Disable tests which requires network access 42 disabledTests = [ 43 "test_foo" 44 "test_passthrough" 45 ]; 46 47 __darwinAllowLocalNetworking = true; 48 49 - pythonImportsCheck = [ "aresponses" ]; 50 51 meta = with lib; { 52 description = "Asyncio testing server"; ··· 55 maintainers = with maintainers; [ makefu ]; 56 }; 57 }
··· 2 , aiohttp 3 , buildPythonPackage 4 , fetchFromGitHub 5 + , pythonOlder 6 , pytest 7 , pytest-asyncio 8 , pytestCheckHook 9 }: 10 11 buildPythonPackage rec { 12 pname = "aresponses"; 13 + version = "2.1.5"; 14 + format = "setuptools"; 15 16 + disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "CircleUp"; 20 repo = pname; 21 rev = version; 22 + sha256 = "sha256-9ZzIrj87TwxQi0YMlTHFPAp0V1oxfuL0+RMGXxUxFoE="; 23 }; 24 25 propagatedBuildInputs = [ ··· 34 checkInputs = [ 35 aiohttp 36 pytest-asyncio 37 pytestCheckHook 38 ]; 39 40 disabledTests = [ 41 + # Disable tests which requires network access 42 "test_foo" 43 "test_passthrough" 44 ]; 45 46 __darwinAllowLocalNetworking = true; 47 48 + pythonImportsCheck = [ 49 + "aresponses" 50 + ]; 51 52 meta = with lib; { 53 description = "Asyncio testing server"; ··· 56 maintainers = with maintainers; [ makefu ]; 57 }; 58 } 59 +