1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 azure-core,
7 azure-storage-blob,
8 isodate,
9 typing-extensions,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-storage-file-datalake";
14 version = "12.17.0";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "Azure";
19 repo = "azure-sdk-for-python";
20 tag = "azure-storage-file-datalake_${version}";
21 hash = "sha256-FT51a7yuSMLJSnMFK9N09Rc8p/uaoYCcj9WliSvY6UA=";
22 };
23
24 sourceRoot = "${src.name}/sdk/storage/azure-storage-file-datalake";
25
26 build-system = [ setuptools ];
27
28 dependencies = [
29 azure-core
30 azure-storage-blob
31 isodate
32 typing-extensions
33 ];
34
35 optional-dependencies = {
36 aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
37 };
38
39 pythonImportsCheck = [ "azure.storage.filedatalake" ];
40
41 # require devtools_testutils which is a internal package for azure-sdk
42 doCheck = false;
43
44 # multiple packages in a singel repo, and the updater picks the wrong tag
45 passthru.skipBulkUpdate = true;
46
47 meta = {
48 description = "Microsoft Azure File DataLake Storage Client Library for Python";
49 homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-datalake";
50 license = lib.licenses.mit;
51 maintainers = with lib.maintainers; [ ];
52 };
53}