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 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
31
32 pythonNamespaces = [ "azure.mgmt" ];
33
34 # Module has no tests
35 doCheck = false;
36
37 pythonImportsCheck = [ "azure.mgmt.maps" ];
38
39 meta = with lib; {
40 description = "This is the Microsoft Azure Maps Client Library";
41 homepage = "https://github.com/Azure/azure-sdk-for-python";
42 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/v${version}/sdk/maps/azure-mgmt-maps/CHANGELOG.md";
43 license = licenses.mit;
44 maintainers = with maintainers; [ maxwilson ];
45 };
46}