Files
nixpkgs/pkgs/development/python-modules/azure-mgmt-reservations/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
840 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
msrest,
azure-common,
azure-mgmt-core,
typing-extensions,
pythonOlder,
}:
buildPythonPackage rec {
pname = "azure-mgmt-reservations";
version = "2.3.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-BHCFEFst5jfyIEo0hm86belpxW7EygZCBJ8PTqzqHKc=";
};
build-system = [ setuptools ];
dependencies = [
msrest
azure-common
azure-mgmt-core
]
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
# has no tests
doCheck = false;
meta = {
description = "This is the Microsoft Azure Reservations Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ maxwilson ];
};
}