nixpkgs-suyu/pkgs/development/python-modules/azure-storage-blob/default.nix

34 lines
757 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, azure-common
, azure-storage-common
, isPy3k
, futures
}:
buildPythonPackage rec {
pname = "azure-storage-blob";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "0b15dzy75fml994gdfmaw5qcyij15gvh968mk3hg94d1wxwai1zi";
};
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 ];
};
}