python3Packages.pooch: add optional-dependencies

This commit is contained in:
Phillip Cloud 2023-04-14 08:14:15 -04:00
parent 99a95083df
commit 310a715b99
No known key found for this signature in database
GPG Key ID: D908212070FD785E

View File

@ -7,6 +7,9 @@
, packaging
, appdirs
, requests
, tqdm
, paramiko
, xxhash
}:
buildPythonPackage rec {
@ -44,6 +47,14 @@ buildPythonPackage rec {
"integration"
];
passthru = {
optional-dependencies = {
progress = [ tqdm ];
sftp = [ paramiko ];
xxhash = [ xxhash ];
};
};
meta = with lib; {
description = "A friend to fetch your data files.";
homepage = "https://github.com/fatiando/pooch";