39 lines
		
	
	
		
			815 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			815 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib
 | 
						|
, buildPythonPackage
 | 
						|
, fetchPypi
 | 
						|
, azure-common
 | 
						|
, azure-core
 | 
						|
, azure-storage-common
 | 
						|
, msrest
 | 
						|
, isPy3k
 | 
						|
, futures
 | 
						|
}:
 | 
						|
 | 
						|
buildPythonPackage rec {
 | 
						|
  pname = "azure-storage-blob";
 | 
						|
  version = "12.4.0";
 | 
						|
 | 
						|
  src = fetchPypi {
 | 
						|
    inherit pname version;
 | 
						|
    extension = "zip";
 | 
						|
    sha256 = "1s03daq5mxh9acbv8qpa55c2wmjvdf8jq071cwv65mrly8prp84n";
 | 
						|
  };
 | 
						|
 | 
						|
  propagatedBuildInputs = [
 | 
						|
    azure-common
 | 
						|
    azure-core
 | 
						|
    azure-storage-common
 | 
						|
    msrest
 | 
						|
  ] ++ lib.optional (!isPy3k) futures;
 | 
						|
 | 
						|
  # has no tests
 | 
						|
  doCheck = false;
 | 
						|
 | 
						|
  meta = with lib; {
 | 
						|
    description = "Client library for Microsoft Azure Storage services containing the blob service APIs";
 | 
						|
    homepage = "https://github.com/Azure/azure-sdk-for-python";
 | 
						|
    license = licenses.mit;
 | 
						|
    maintainers = with maintainers; [ cmcdragonkai mwilsoninsight ];
 | 
						|
  };
 | 
						|
}
 |