1{
2 lib,
3 aiohttp,
4 azure-core,
5 azure-datalake-store,
6 azure-identity,
7 azure-storage-blob,
8 buildPythonPackage,
9 fetchFromGitHub,
10 fsspec,
11 pythonOlder,
12 setuptools,
13 setuptools-scm,
14}:
15
16buildPythonPackage rec {
17 pname = "adlfs";
18 version = "2025.8.0";
19 pyproject = true;
20
21 disabled = pythonOlder "3.8";
22
23 src = fetchFromGitHub {
24 owner = "fsspec";
25 repo = "adlfs";
26 tag = version;
27 hash = "sha256-e9JO8obFvFHzNeb42Lo2RG21NvLv/eCyWm2fY7MEiTA=";
28 };
29
30 build-system = [
31 setuptools
32 setuptools-scm
33 ];
34
35 dependencies = [
36 aiohttp
37 azure-core
38 azure-datalake-store
39 azure-identity
40 azure-storage-blob
41 fsspec
42 ];
43
44 pythonRelaxDeps = [ "azure-datalake-store" ];
45
46 # Tests require a running Docker instance
47 doCheck = false;
48
49 pythonImportsCheck = [ "adlfs" ];
50
51 meta = with lib; {
52 description = "Filesystem interface to Azure-Datalake Gen1 and Gen2 Storage";
53 homepage = "https://github.com/fsspec/adlfs";
54 changelog = "https://github.com/fsspec/adlfs/blob/${version}/CHANGELOG.md";
55 license = licenses.bsd3;
56 maintainers = with maintainers; [ fab ];
57 };
58}