1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 pythonOlder,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-servicefabric";
14 version = "2.1.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.9";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-oIQzBJVUQ2yQhEvIqWgg6INplITm/8mQMv0lcfjF99Y=";
22 };
23
24 nativeBuildInputs = [ setuptools ];
25
26 propagatedBuildInputs = [
27 isodate
28 azure-common
29 azure-mgmt-core
30 ];
31
32 pythonNamespaces = [ "azure.mgmt" ];
33
34 # Module has no tests
35 doCheck = false;
36
37 meta = with lib; {
38 description = "This is the Microsoft Azure Service Fabric Management Client Library";
39 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/servicefabric/azure-mgmt-servicefabric";
40 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-servicefabric_${version}/sdk/servicefabric/azure-mgmt-servicefabric/CHANGELOG.md";
41 license = licenses.mit;
42 maintainers = with maintainers; [ maxwilson ];
43 };
44}