Merge pull request #63176 from jonringer/add_azure_cosmos
pythonPackages.azure-cosmos: init at 3.1.0
This commit is contained in:
commit
8a222cbd8f
28
pkgs/development/python-modules/azure-cosmos/default.nix
Normal file
28
pkgs/development/python-modules/azure-cosmos/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user