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-batch";
14 version = "18.0.0";
15 pyproject = true;
16
17 disabled = pythonOlder "3.9";
18
19 src = fetchPypi {
20 pname = "azure_mgmt_batch";
21 inherit version;
22 hash = "sha256-MF61H7P3OyCSfvR7O2+T6eMtyTmHbARflwvThsB7p5w=";
23 };
24
25 nativeBuildInputs = [ setuptools ];
26
27 propagatedBuildInputs = [
28 azure-common
29 azure-mgmt-core
30 isodate
31 ];
32
33 # Tests are only available in mono repo
34 doCheck = false;
35
36 pythonImportsCheck = [ "azure.mgmt.batch" ];
37
38 meta = with lib; {
39 description = "This is the Microsoft Azure Batch Management Client Library";
40 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-mgmt-batch";
41 changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-batch_${version}/sdk/batch/azure-mgmt-batch";
42 license = licenses.mit;
43 maintainers = with maintainers; [ maxwilson ];
44 };
45}