nixpkgs/pkgs/development/python-modules/azure-multiapi-storage/default.nix
2020-05-19 16:38:52 -07:00

42 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 ];
};
}