depot/third_party/nixpkgs/pkgs/development/python-modules/azure-multiapi-storage/default.nix
Default email 4fc29cb41f Project import generated by Copybara.
GitOrigin-RevId: 135073a87b7e2c631739f4ffa016e1859b1a425e
2020-05-29 08:06:01 +02:00

41 lines
910 B
Nix

{ lib, python, buildPythonPackage, fetchPypi, isPy27
, azure-common
, azure-core
, msrest
, msrestazure
, requests
}:
buildPythonPackage rec {
version = "0.3.2";
pname = "azure-multiapi-storage";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "c403a47e40e4a80d9c42c854993f5c07f12c2a75bd9a85ba8225985493a9b792";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
msrestazure
requests
];
# fix namespace
pythonNamespaces = [ "azure.multiapi" ];
# no tests included
doCheck = false;
pythonImportsCheck = [ "azure.common" "azure.multiapi.storage" ];
meta = with lib; {
description = "Microsoft Azure Storage Client Library for Python with multi API version support.";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}