depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-cosmosdb/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

45 lines
1,005 B
Nix

{
lib,
azure-common,
azure-mgmt-core,
buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-mgmt-cosmosdb";
version = "9.6.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "azure_mgmt_cosmosdb";
inherit version;
hash = "sha256-Znx9io9UKw55cuYydK9TatmFGH4kpswuPI7vNVYIgfw=";
};
build-system = [ setuptools ];
dependencies = [
isodate
azure-common
azure-mgmt-core
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.cosmosdb" ];
meta = with lib; {
description = "Module to work with the Microsoft Azure Cosmos DB Management";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cosmosdb_${version}/sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}