From 310a715b992d50f7a2c2eb55ce95be9709179862 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Fri, 14 Apr 2023 08:14:15 -0400 Subject: [PATCH] python3Packages.pooch: add optional-dependencies --- pkgs/development/python-modules/pooch/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/python-modules/pooch/default.nix b/pkgs/development/python-modules/pooch/default.nix index 7dd3569519e0..06c4617c0ce9 100644 --- a/pkgs/development/python-modules/pooch/default.nix +++ b/pkgs/development/python-modules/pooch/default.nix @@ -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";