1{
2 lib,
3 azure-core,
4 buildPythonPackage,
5 cryptography,
6 fetchPypi,
7 isodate,
8 msrest,
9 pythonOlder,
10 setuptools,
11 typing-extensions,
12}:
13
14buildPythonPackage rec {
15 pname = "azure-storage-file-share";
16 version = "12.16.0";
17 pyproject = true;
18
19 disabled = pythonOlder "3.8";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-QS+35sPCj29yKvmBlapZQHqqMjI6+hOkoB9i0Lh3TrM=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 azure-core
30 cryptography
31 isodate
32 typing-extensions
33 ];
34
35 passthru.optional-dependencies = {
36 aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
37 };
38
39 # Tests require checkout from monorepo
40 doCheck = false;
41
42 pythonImportsCheck = [
43 "azure.core"
44 "azure.storage"
45 ];
46
47 meta = with lib; {
48 description = "Microsoft Azure File Share Storage Client Library for Python";
49 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-share";
50 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-share_${version}/sdk/storage/azure-storage-file-share/CHANGELOG.md";
51 license = licenses.mit;
52 maintainers = with maintainers; [ kamadorueda ];
53 };
54}