python3Packages.fssspec: Expose optional-dependencies

This commit is contained in:
Martin Weinelt 2023-01-12 18:43:22 +01:00
parent eb29a9d61d
commit 2daf31d0aa
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -13,6 +13,20 @@
, requests
, smbprotocol
, tqdm
# optionals
, adlfs
, dask
, distributed
, dropbox
, fusepy
, gcsfs
, libarchive-c
, ocifs
, panel
, pyarrow
, pygit2
, s3fs
}:
buildPythonPackage rec {
@ -37,6 +51,75 @@ buildPythonPackage rec {
tqdm
];
passthru.optional-dependencies = {
entrypoints = [
];
abfs = [
adlfs
];
adl = [
adlfs
];
dask = [
dask
distributed
];
dropbox = [
# missing dropboxdrivefs
requests
dropbox
];
gcs = [
gcsfs
];
git = [
pygit2
];
github = [
requests
];
gs = [
gcsfs
];
hdfs = [
pyarrow
];
arrow = [
pyarrow
];
http = [
aiohttp
requests
];
sftp = [
paramiko
];
s3 = [
s3fs
];
oci = [
ocifs
];
smb = [
smbprotocol
];
ssh = [
paramiko
];
fuse = [
fusepy
];
libarchive = [
libarchive-c
];
gui = [
panel
];
tqdm = [
tqdm
];
};
checkInputs = [
numpy
pytest-asyncio