Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 azure-common, 7 azure-mgmt-core, 8 isodate, 9 setuptools, 10 typing-extensions, 11}: 12 13buildPythonPackage rec { 14 pname = "azure-mgmt-appcontainers"; 15 version = "3.2.0"; 16 pyroject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 pname = "azure_mgmt_appcontainers"; 22 inherit version; 23 hash = "sha256-bp7WPCwssPZD+tZ52BMIxKomFWztQfwDPl9MBJghjz4="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 azure-common 30 azure-mgmt-core 31 isodate 32 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 33 34 # no tests included 35 doCheck = false; 36 37 pythonImportsCheck = [ "azure.mgmt.appcontainers" ]; 38 39 meta = with lib; { 40 description = "Microsoft Azure Appcontainers Management Client Library for Python"; 41 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appcontainers/azure-mgmt-appcontainers"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ jfroche ]; 44 }; 45}