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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
983 B
Nix
Raw Permalink Normal View History

{
lib,
azure-common,
azure-core,
buildPythonPackage,
cryptography,
fetchPypi,
msrest,
pythonOlder,
requests,
setuptools,
python-dateutil,
}:
buildPythonPackage rec {
pname = "azure-multiapi-storage";
version = "1.4.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-RfFd+1xL2ouWJ3NLXMcsRfQ215bi4ha+iCOcYXjND3E=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-core
cryptography
msrest
requests
python-dateutil
];
# fix namespace
pythonNamespaces = [ "azure.multiapi" ];
# no tests included
doCheck = false;
pythonImportsCheck = [
"azure.multiapi.storage"
];
meta = {
description = "Microsoft Azure Storage Client Library for Python with multi API version support";
homepage = "https://github.com/Azure/azure-multiapi-storage-python";
license = lib.licenses.mit;
maintainers = [ ];
};
}