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