1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 typing-extensions,
10 msrest,
11}:
12
13buildPythonPackage rec {
14 pname = "azure-mgmt-maps";
15 version = "2.1.0";
16 format = "setuptools";
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-XVaml4UuVBanYYHxjB1YT/PvExzgAPbD4gI3Hbc0dI0=";
23 };
24
25 propagatedBuildInputs = [
26 isodate
27 azure-common
28 azure-mgmt-core
29 msrest
30 ]
31 ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
32
33 pythonNamespaces = [ "azure.mgmt" ];
34
35 # Module has no tests
36 doCheck = false;
37
38 pythonImportsCheck = [ "azure.mgmt.maps" ];
39
40 meta = with lib; {
41 description = "This is the Microsoft Azure Maps Client Library";
42 homepage = "https://github.com/Azure/azure-sdk-for-python";
43 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/v${version}/sdk/maps/azure-mgmt-maps/CHANGELOG.md";
44 license = licenses.mit;
45 maintainers = with maintainers; [ maxwilson ];
46 };
47}