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