summary refs log blame commit diff
path: root/pkgs/development/python-modules/azure-cosmos/default.nix
blob: 47e6fb6f0394e96a8318019c95cb962e6a2aca2a (plain) (tree)
1
2
3
4
5
6
7
8
9

                    
        





                        
                    



                          
                                                                                



                                           
                                 
 




                                           
                                                               



                                                  
{ buildPythonPackage
, lib
, python
, fetchPypi
, six
, requests
}:

buildPythonPackage rec {
  version = "3.2.0";
  pname = "azure-cosmos";

  src = fetchPypi {
    inherit pname version;
    sha256 = "4f77cc558fecffac04377ba758ac4e23f076dc1c54e2cf2515f85bc15cbde5c6";
  };

  propagatedBuildInputs = [ six requests ];

  pythonNamespaces = [ "azure" ];

  # 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 ];
  };
}