Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, azure-core 3, buildPythonPackage 4, cryptography 5, fetchPypi 6, isodate 7, msrest 8, pythonOlder 9, typing-extensions 10}: 11 12buildPythonPackage rec { 13 pname = "azure-storage-file-share"; 14 version = "12.14.2"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-mcMtgN2jX4hO4NSNk/1X9vT/vgCulYR5w7fV9OsCHrw="; 22 }; 23 24 propagatedBuildInputs = [ 25 azure-core 26 cryptography 27 isodate 28 typing-extensions 29 ]; 30 31 # Tests require checkout from monorepo 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "azure.core" 36 "azure.storage" 37 ]; 38 39 meta = with lib; { 40 description = "Microsoft Azure File Share Storage Client Library for Python"; 41 homepage = "https://github.com/Azure/azure-sdk-for-python"; 42 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-share_${version}/sdk/storage/azure-storage-file-share/CHANGELOG.md"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ kamadorueda ]; 45 }; 46}