about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-07-13 22:57:29 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-07-23 11:03:47 -0700
commitc0310c08d755809400366624c9ac77ecfef4266a (patch)
tree456efc57bfbc5602779427619ff62a9f0933b5da /pkgs/development
parent354ecddc47463a02587d1cf290a4552eae64e209 (diff)
python310Packages.snowflake-connector-python: add secure-local-storage extra
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/snowflake-connector-python/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/snowflake-connector-python/default.nix b/pkgs/development/python-modules/snowflake-connector-python/default.nix
index 4a89534c63cd5..fbf000d21e1ee 100644
--- a/pkgs/development/python-modules/snowflake-connector-python/default.nix
+++ b/pkgs/development/python-modules/snowflake-connector-python/default.nix
@@ -7,6 +7,7 @@
 , fetchPypi
 , filelock
 , idna
+, keyring
 , oscrypto
 , pycryptodomex
 , pyjwt
@@ -53,6 +54,10 @@ buildPythonPackage rec {
     typing-extensions
   ];
 
+  passthru.optional-dependencies = {
+    secure-local-storage = [ keyring ];
+  };
+
   # Tests require encrypted secrets, see
   # https://github.com/snowflakedb/snowflake-connector-python/tree/master/.github/workflows/parameters
   doCheck = false;