depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix
Default email 555cd8a8f9 Project import generated by Copybara.
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
2024-10-09 18:51:18 +02:00

45 lines
1 KiB
Nix

{
lib,
azure-common,
azure-mgmt-core,
buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-mgmt-batch";
version = "18.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "azure_mgmt_batch";
inherit version;
hash = "sha256-MF61H7P3OyCSfvR7O2+T6eMtyTmHbARflwvThsB7p5w=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
azure-common
azure-mgmt-core
isodate
];
# Tests are only available in mono repo
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.batch" ];
meta = with lib; {
description = "This is the Microsoft Azure Batch Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-mgmt-batch";
changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-batch_${version}/sdk/batch/azure-mgmt-batch";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}