Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 47 lines 946 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, msrest 5, msrestazure 6, azure-common 7, azure-mgmt-core 8, pythonOlder 9, typing-extensions 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-recoveryservices"; 14 version = "2.4.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 extension = "zip"; 22 hash = "sha256-2JeOvtNxx6Z3AY4GI9fBRKbMcYVHsbrhk8C+5t5eelk="; 23 }; 24 25 propagatedBuildInputs = [ 26 azure-common 27 azure-mgmt-core 28 msrest 29 msrestazure 30 ] ++ lib.optionals (pythonOlder "3.8") [ 31 typing-extensions 32 ]; 33 34 # Module has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ 38 "azure.mgmt.recoveryservices" 39 ]; 40 41 meta = with lib; { 42 description = "This is the Microsoft Azure Recovery Services Client Library"; 43 homepage = "https://github.com/Azure/azure-sdk-for-python"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ maxwilson ]; 46 }; 47}