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 typing-extensions, 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-appcontainers"; 14 version = "3.0.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-oqKPEOnZaIU7IMzDqT552IBJr9RtWt3vFO3SlG8igs0="; 22 }; 23 24 propagatedBuildInputs = [ 25 azure-common 26 azure-mgmt-core 27 isodate 28 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 29 30 # no tests included 31 doCheck = false; 32 33 pythonImportsCheck = [ "azure.mgmt.appcontainers" ]; 34 35 meta = with lib; { 36 description = "Microsoft Azure Appcontainers Management Client Library for Python"; 37 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appcontainers/azure-mgmt-appcontainers"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ jfroche ]; 40 }; 41}