Merge pull request #63176 from jonringer/add_azure_cosmos

pythonPackages.azure-cosmos: init at 3.1.0
This commit is contained in:
Mario Rodas 2019-06-17 22:19:47 -05:00 committed by GitHub
commit 8a222cbd8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ buildPythonPackage
, lib
, fetchPypi
, six
, requests
}:
buildPythonPackage rec {
version = "3.1.0";
pname = "azure-cosmos";
src = fetchPypi {
inherit pname version;
sha256 = "1955kpn2y16k5mil90bnnyscnh1hyh4d5l5v5b90ms969p61i9zl";
};
propagatedBuildInputs = [ six requests ];
# requires an active Azure Cosmos service
doCheck = false;
meta = with lib; {
description = "Azure Cosmos DB API";
homepage = https://github.com/Azure/azure-cosmos-python;
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@ -252,6 +252,8 @@ in {
azure-common = callPackage ../development/python-modules/azure-common { };
azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };
azure-mgmt-common = callPackage ../development/python-modules/azure-mgmt-common { };
azure-mgmt-compute = callPackage ../development/python-modules/azure-mgmt-compute { };