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