nixpkgs/pkgs/development/python-modules/azure-cosmos/default.nix
2019-10-20 11:18:11 +02:00

29 lines
576 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, six
, requests
}:
buildPythonPackage rec {
version = "3.1.1";
pname = "azure-cosmos";
src = fetchPypi {
inherit pname version;
sha256 = "0q8pl8wnadxhyawcrfzrm2k85xd4mdmdk2xwdial55zmpa8ji4pk";
};
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-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}