Files
nixpkgs/pkgs/development/python-modules/azure-mgmt-devtestlabs/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
894 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy3k,
msrest,
msrestazure,
azure-common,
azure-mgmt-core,
azure-mgmt-nspkg,
}:
buildPythonPackage rec {
pname = "azure-mgmt-devtestlabs";
version = "9.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "d8160d93fd3d947e5613c6919176b0edf72c94ac69679ea3b92cf27ff7398e64";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
azure-mgmt-core
]
++ lib.optionals (!isPy3k) [ azure-mgmt-nspkg ];
pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;
meta = {
description = "This is the Microsoft Azure DevTestLabs Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
maxwilson
];
};
}