1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 msrest, 7 azure-common, 8 azure-mgmt-core, 9 typing-extensions, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "azure-mgmt-reservations"; 15 version = "2.3.0"; 16 pyproject = true; 17 18 src = fetchPypi { 19 inherit pname version; 20 extension = "zip"; 21 hash = "sha256-BHCFEFst5jfyIEo0hm86belpxW7EygZCBJ8PTqzqHKc="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 msrest 28 azure-common 29 azure-mgmt-core 30 ] 31 ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 32 33 # has no tests 34 doCheck = false; 35 36 meta = { 37 description = "This is the Microsoft Azure Reservations Client Library"; 38 homepage = "https://github.com/Azure/azure-sdk-for-python"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ maxwilson ]; 41 }; 42}