Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 44 lines 1.0 kB view raw
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 = "17.3.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-/JSIGmrNuKlTPzcbb3stPq6heJ65VQFLJKkI1t/nWZE="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ 27 azure-common 28 azure-mgmt-core 29 isodate 30 ]; 31 32 # Tests are only available in mono repo 33 doCheck = false; 34 35 pythonImportsCheck = [ "azure.mgmt.batch" ]; 36 37 meta = with lib; { 38 description = "This is the Microsoft Azure Batch Management Client Library"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-mgmt-batch"; 40 changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-batch_${version}/sdk/batch/azure-mgmt-batch"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ maxwilson ]; 43 }; 44}