Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, fetchPypi, pythonOlder,
# build-system pbr, setuptools,
# dependencies aiohttp,
# tests ddt, pytestCheckHook,}:
buildPythonPackage rec { pname = "aioresponses"; version = "0.7.8"; pyproject = true;
disabled = pythonOlder "3.5";
src = fetchPypi { inherit pname version; hash = "sha256-uGHN/l3FjzuK+sewppc9XXsstgjdD2JT0WuO6Or23xE="; };
nativeBuildInputs = [ pbr setuptools ];
propagatedBuildInputs = [ aiohttp ];
pythonImportsCheck = [ "aioresponses" ];
nativeCheckInputs = [ ddt pytestCheckHook ];
disabledTests = [ # Skip tests which make requests to httpbin.org "test_address_as_instance_of_url_combined_with_pass_through" "test_pass_through_with_origin_params" "test_pass_through_unmatched_requests" ];
meta = { description = "Helper to mock/fake web requests in python aiohttp package"; homepage = "https://github.com/pnuckowski/aioresponses"; license = lib.licenses.mit; };}