summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/azure-batch/default.nix
blob: 6a75000593fdc8c8bcf20d1fc85aab4bcf0d2c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchPypi,
  msrestazure,
  azure-common,
  setuptools,
}:

buildPythonPackage rec {
  pname = "azure-batch";
  version = "14.2.0";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-x5Jn1sPT/hShakIqtbv6vL1o7QtYtrvN+gyDRcTHhTI=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [
    azure-common
    msrestazure
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "azure.batch" ];

  meta = {
    description = "This is the Microsoft Azure Batch Client Library";
    homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-batch";
    changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-batch_${version}/sdk/batch/azure-batch/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ maxwilson ];
  };
}