mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
34 lines
769 B
Nix
34 lines
769 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, azure-common
|
||
|
, azure-storage-common
|
||
|
, isPy3k
|
||
|
, futures
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "azure-storage-blob";
|
||
|
version = "1.4.0";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "65ebe2e54460566c2077c6b3773a2a0623eabc7b95602010cb51b84077087fda";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
azure-common
|
||
|
azure-storage-common
|
||
|
] ++ 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-storage-python/tree/master/azure-storage-blob;
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ cmcdragonkai ];
|
||
|
};
|
||
|
}
|