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