Files
nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/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.0 KiB
Nix

{
lib,
azure-common,
azure-mgmt-core,
buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-mgmt-batch";
version = "18.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "azure_mgmt_batch";
inherit version;
hash = "sha256-MF61H7P3OyCSfvR7O2+T6eMtyTmHbARflwvThsB7p5w=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
azure-common
azure-mgmt-core
isodate
];
# Tests are only available in mono repo
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.batch" ];
meta = {
description = "This is the Microsoft Azure Batch Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-mgmt-batch";
changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-batch_${version}/sdk/batch/azure-mgmt-batch";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}