a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
50 lines
1,016 B
Nix
50 lines
1,016 B
Nix
{ lib
|
|
, aiohttp
|
|
, azure-core
|
|
, azure-datalake-store
|
|
, azure-identity
|
|
, azure-storage-blob
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, fsspec
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "adlfs";
|
|
version = "2022.11.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fsspec";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-S6dJK5ZhDCSwM/14sTrXNJ/+dDe9OeDRemsnuoe4IW0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
azure-core
|
|
azure-datalake-store
|
|
azure-identity
|
|
azure-storage-blob
|
|
fsspec
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|