depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

{
lib,
azure-common,
azure-mgmt-core,
azure-mgmt-nspkg,
buildPythonPackage,
fetchPypi,
isodate,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "30.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-bGLmrFkONP7dc5/iSzGzdQcToBRhZpbqjUTHvMgcBrc=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-mgmt-core
isodate
];
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.containerservice" ];
meta = with lib; {
description = "This is the Microsoft Azure Container Service Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerservice/azure-mgmt-containerservice";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerservice_${version}/sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}