1{ pkgs
2, buildPythonPackage
3, fetchPypi
4, azure-core
5, typing-extensions
6}:
7
8buildPythonPackage rec {
9 version = "1.4.0";
10 pname = "azure-mgmt-core";
11
12 src = fetchPypi {
13 inherit pname version;
14 extension = "zip";
15 hash = "sha256-0ZUgg0AJT5jlpmYbeBzeb2oFHnnOMXyqvY/5cDCps64=";
16 };
17
18 propagatedBuildInputs = [
19 azure-core
20 typing-extensions
21 ];
22
23 pythonNamespaces = "azure.mgmt";
24
25 # not included
26 doCheck = false;
27
28 pythonImportsCheck = [ "azure.mgmt.core" "azure.core" ];
29
30 meta = with pkgs.lib; {
31 description = "Microsoft Azure Management Core Library for Python";
32 homepage = "https://github.com/Azure/azure-sdk-for-python";
33 license = licenses.mit;
34 maintainers = with maintainers; [ jonringer ];
35 };
36}