Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, fetchPypi 3, isPy3k 4, lib 5 6# pythonPackages 7, azure-core 8, cryptography 9, msrest 10, futures 11}: 12 13buildPythonPackage rec { 14 pname = "azure-storage-file-share"; 15 version = "12.0.0"; 16 disabled = !isPy3k; 17 18 src = fetchPypi { 19 inherit pname version; 20 extension = "zip"; 21 sha256 = "15f5vk3vd2amggqqznx186raak9wgr57j0l1p9qa62kcl10bs9lg"; 22 }; 23 24 propagatedBuildInputs = [ 25 azure-core 26 cryptography 27 msrest 28 ]; 29 30 # requires checkout from monorepo 31 doCheck = false; 32 pythonImportsCheck = [ 33 "azure.core" 34 "azure.storage" 35 ]; 36 37 meta = with lib; { 38 description = "Microsoft Azure File Share Storage Client Library for Python"; 39 homepage = "https://github.com/Azure/azure-sdk-for-python"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ 42 kamadorueda 43 ]; 44 }; 45}