depot/third_party/nixpkgs/pkgs/development/python-modules/azure-multiapi-storage/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

33 lines
832 B
Nix

{ lib, python, buildPythonPackage, fetchPypi, isPy27
, azure-common
, msrest
, msrestazure
}:
buildPythonPackage rec {
version = "0.2.4";
pname = "azure-multiapi-storage";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0zqapc4dx6qd9bcim5fjykk3n1j84p85nwqyb876nb7qmqx9spig";
};
propagatedBuildInputs = [ azure-common msrest msrestazure ];
# 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 ];
};
}