Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 47 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 msrestazure, 6 azure-common, 7 azure-mgmt-core, 8 azure-mgmt-nspkg, 9}: 10 11buildPythonPackage rec { 12 pname = "azure-mgmt-relay"; 13 version = "1.1.0"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 extension = "zip"; 19 sha256 = "c93b7550e64b6734bf23ce57ca974a3ea929b734c58d1fe3669728c4fd2d2eb3"; 20 }; 21 22 propagatedBuildInputs = [ 23 msrestazure 24 azure-common 25 azure-mgmt-core 26 azure-mgmt-nspkg 27 ]; 28 29 preBuild = '' 30 rm -f azure_bdist_wheel.py 31 substituteInPlace setup.cfg \ 32 --replace "azure-namespace-package = azure-mgmt-nspkg" "" 33 ''; 34 35 pythonNamespaces = [ "azure.mgmt" ]; 36 37 # has no tests 38 doCheck = false; 39 pythonImportsCheck = [ "azure.mgmt.relay" ]; 40 41 meta = with lib; { 42 description = "This is the Microsoft Azure Relay Client Library"; 43 homepage = "https://github.com/Azure/azure-sdk-for-python"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ maxwilson ]; 46 }; 47}