Files
nixpkgs/pkgs/development/python-modules/azure-mgmt-batchai/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

45 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
azure-common,
azure-mgmt-core,
isodate,
pythonOlder,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-mgmt-batchai";
version = "7.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "azure_mgmt_batchai";
hash = "sha256-XfAE/QyST8ZVlJR6nP9Pdgh97hfIhFM6G7sLINsn06M=";
};
propagatedBuildInputs = [
isodate
azure-common
azure-mgmt-core
]
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;
meta = {
description = "This is the Microsoft Azure Batch AI Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-batchai_${version}/sdk/batchai/azure-mgmt-batchai/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}