xeus-cling: fix improper linking with LLVM (#351130)
[NixPkgs.git] / pkgs / development / python-modules / aioresponses / default.nix
blob5b102d463171dccb56135e93d90d4243ec392b1e
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
7   # build-system
8   pbr,
9   setuptools,
11   # dependencies
12   aiohttp,
14   # tests
15   ddt,
16   pytestCheckHook,
19 buildPythonPackage rec {
20   pname = "aioresponses";
21   version = "0.7.6";
22   pyproject = true;
24   disabled = pythonOlder "3.5";
26   src = fetchPypi {
27     inherit pname version;
28     hash = "sha256-95XZ29otYXdIQOfjL1Nm9FdS0a3Bt0yTYq/QFylsfuE=";
29   };
31   nativeBuildInputs = [
32     pbr
33     setuptools
34   ];
36   propagatedBuildInputs = [ aiohttp ];
38   pythonImportsCheck = [ "aioresponses" ];
40   nativeCheckInputs = [
41     ddt
42     pytestCheckHook
43   ];
45   disabledTests = [
46     # Skip a test which makes requests to httpbin.org
47     "test_address_as_instance_of_url_combined_with_pass_through"
48     "test_pass_through_with_origin_params"
49   ];
51   meta = {
52     description = "Helper to mock/fake web requests in python aiohttp package";
53     homepage = "https://github.com/pnuckowski/aioresponses";
54     license = lib.licenses.mit;
55   };