depot/third_party/nixpkgs/pkgs/development/python-modules/azure-storage-queue/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

55 lines
1.1 KiB
Nix

{ lib
, azure-core
, buildPythonPackage
, cryptography
, fetchPypi
, isodate
, pythonOlder
, setuptools
, typing-extensions
}:
buildPythonPackage rec {
pname = "azure-storage-queue";
version = "12.9.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-mBAbDhfaDUcM9XALbEDP50Q57Dycds84OYCW5zcbnRs=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
azure-core
cryptography
isodate
typing-extensions
];
passthru.optional-dependencies = {
aio = [
azure-core
] ++ azure-core.optional-dependencies.aio;
};
# has no tests
doCheck = false;
pythonImportsCheck = [
"azure.storage.queue"
];
meta = with lib; {
description = "Client library for Microsoft Azure Storage services containing the queue service APIs";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-queue_${version}/sdk/storage/azure-storage-queue/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ cmcdragonkai ];
};
}