2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, azure-common
|
2020-11-30 08:33:03 +00:00
|
|
|
, azure-mgmt-core
|
2023-10-19 13:55:26 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isodate
|
2022-08-12 12:06:08 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "azure-mgmt-cosmosdb";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "9.4.0";
|
2022-08-12 12:06:08 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
disabled = pythonOlder "3.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-yruCHNRGsJ5z0kwxwoemD8w2I0iPH/qTNcaSJn55w0E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-10-19 13:55:26 +00:00
|
|
|
isodate
|
2020-04-24 23:36:52 +00:00
|
|
|
azure-common
|
2020-11-30 08:33:03 +00:00
|
|
|
azure-mgmt-core
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
# Module has no tests
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"azure.mgmt.cosmosdb"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
2023-10-19 13:55:26 +00:00
|
|
|
description = "Module to work with the Microsoft Azure Cosmos DB Management";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
2023-10-19 13:55:26 +00:00
|
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cosmosdb_${version}/sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2020-11-19 00:13:47 +00:00
|
|
|
maintainers = with maintainers; [ maxwilson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|