Files
nixpkgs/pkgs/development/python-modules/azure-servicebus/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

46 lines
1021 B
Nix

{
lib,
azure-core,
buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
typing-extensions,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-servicebus";
version = "7.14.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "azure_servicebus";
inherit version;
hash = "sha256-cKYzhFV67AvucndA57Jd7Snp5wG3dhF2RXf9dAI4lAI=";
};
build-system = [ setuptools ];
dependencies = [
azure-core
isodate
typing-extensions
];
# Tests require dev-tools
doCheck = false;
pythonImportsCheck = [ "azure.servicebus" ];
meta = {
description = "Microsoft Azure Service Bus Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/servicebus/azure-servicebus";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-servicebus_${version}/sdk/servicebus/azure-servicebus/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}