linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / azure-core / default.nix
blob2bcb4d42646c66625409c0a464efdf2918879947
1 { lib, buildPythonPackage, fetchPypi, isPy27
2 , aiodns
3 , aiohttp
4 , mock
5 , msrest
6 , pytest
7 , pytest-asyncio
8 , pytest-trio
9 , pytestCheckHook
10 , requests
11 , six
12 , trio
13 , typing-extensions
16 buildPythonPackage rec {
17   version = "1.12.0";
18   pname = "azure-core";
19   disabled = isPy27;
21   src = fetchPypi {
22     inherit pname version;
23     extension = "zip";
24     sha256 = "adf2b1c6ef150a92295b4b405f982a9d2c55c4846728cb14760ca592acbb09ec";
25   };
27   propagatedBuildInputs = [
28     requests
29     six
30   ];
32   checkInputs = [
33     aiodns
34     aiohttp
35     mock
36     msrest
37     pytest
38     pytest-trio
39     pytest-asyncio
40     pytestCheckHook
41     trio
42     typing-extensions
43   ];
45   pytestFlagsArray = [ "tests/" ];
46   # disable tests which touch network
47   disabledTests = [ "aiohttp" "multipart_send" "response" "request" "timeout" ];
49   meta = with lib; {
50     description = "Microsoft Azure Core Library for Python";
51     homepage = "https://github.com/Azure/azure-sdk-for-python";
52     license = licenses.mit;
53     maintainers = with maintainers; [ jonringer ];
54   };