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