567e8dfd8e
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>
50 lines
1.2 KiB
Nix
50 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
azure-common,
|
|
azure-mgmt-core,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isodate,
|
|
pythonOlder,
|
|
setuptools,
|
|
typing-extensions,
|
|
msrest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-mgmt-cognitiveservices";
|
|
version = "14.1.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
pname = "azure_mgmt_cognitiveservices";
|
|
inherit version;
|
|
hash = "sha256-kVGRN00K20Q4Y8IKrqLJ87nVWKhJrCt48VIkkmL9yvg=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
msrest
|
|
azure-common
|
|
azure-mgmt-core
|
|
isodate
|
|
typing-extensions
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "azure.mgmt.cognitiveservices" ];
|
|
|
|
meta = {
|
|
description = "This is the Microsoft Azure Cognitive Services Management Client Library";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-mgmt-cognitiveservices";
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-cognitiveservices_${version}/sdk/cognitiveservices/azure-mgmt-cognitiveservices/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ maxwilson ];
|
|
};
|
|
}
|