Files
nixpkgs/pkgs/development/python-modules/adlfs/default.nix
2025-08-30 23:11:35 +00:00

59 lines
1.1 KiB
Nix

{
lib,
aiohttp,
azure-core,
azure-datalake-store,
azure-identity,
azure-storage-blob,
buildPythonPackage,
fetchFromGitHub,
fsspec,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "adlfs";
version = "2025.8.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "fsspec";
repo = "adlfs";
tag = version;
hash = "sha256-e9JO8obFvFHzNeb42Lo2RG21NvLv/eCyWm2fY7MEiTA=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
aiohttp
azure-core
azure-datalake-store
azure-identity
azure-storage-blob
fsspec
];
pythonRelaxDeps = [ "azure-datalake-store" ];
# Tests require a running Docker instance
doCheck = false;
pythonImportsCheck = [ "adlfs" ];
meta = with lib; {
description = "Filesystem interface to Azure-Datalake Gen1 and Gen2 Storage";
homepage = "https://github.com/fsspec/adlfs";
changelog = "https://github.com/fsspec/adlfs/blob/${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}