Files
nixpkgs/pkgs/development/python-modules/azure-servicemanagement-legacy/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
1.1 KiB
Nix

{
lib,
azure-common,
buildPythonPackage,
fetchPypi,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-servicemanagement-legacy";
version = "0.20.8";
pyproject = true;
src = fetchPypi {
pname = "azure_servicemanagement_legacy";
inherit version;
hash = "sha256-42neKpeBjx26GTIzeBTyjTmj5tcNklNQoaBoEDjC+Xc=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
requests
];
pythonNamespaces = [ "azure" ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "azure.servicemanagement" ];
meta = {
description = "This is the Microsoft Azure Service Management Legacy Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-servicemanagement-legacy";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-servicemanagement-legacy_${version}/sdk/core/azure-servicemanagement-legacy/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
olcai
maxwilson
];
};
}