mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
f888b4e8b9
Diff: https://github.com/fsspec/adlfs/compare/refs/tags/2022.11.2...2023.1.0 Changelog: https://github.com/fsspec/adlfs/blob/2023.1.0/CHANGELOG.md
51 lines
1015 B
Nix
51 lines
1015 B
Nix
{ lib
|
|
, aiohttp
|
|
, azure-core
|
|
, azure-datalake-store
|
|
, azure-identity
|
|
, azure-storage-blob
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, fsspec
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "adlfs";
|
|
version = "2023.1.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fsspec";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-eSfdRiIr8xJEoLMs2114NX0CsBMlku9qjUXA23D5qgY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|