Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 43 lines 1.0 kB view raw
1{ 2 lib, 3 azure-common, 4 azure-mgmt-core, 5 buildPythonPackage, 6 fetchPypi, 7 isodate, 8 pythonOlder, 9 typing-extensions, 10}: 11 12buildPythonPackage rec { 13 pname = "azure-mgmt-redis"; 14 version = "14.5.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit version; 21 pname = "azure_mgmt_redis"; 22 hash = "sha256-XDQ0yCSSaI4luTqvURPs/wuSt61toqT9RpVTD4KxUvo="; 23 }; 24 25 propagatedBuildInputs = [ 26 isodate 27 azure-common 28 azure-mgmt-core 29 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; 30 31 # Module has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ "azure.mgmt.redis" ]; 35 36 meta = with lib; { 37 description = "This is the Microsoft Azure Redis Cache Management Client Library"; 38 homepage = "https://github.com/Azure/azure-sdk-for-python"; 39 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-redis_${version}/sdk/redis/azure-mgmt-redis/CHANGELOG.md"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ maxwilson ]; 42 }; 43}