python312Packages.snowflake-connector-python: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-05 10:28:00 +02:00
parent 4d9010c2a5
commit 581f195dfa

View File

@ -1,31 +1,32 @@
{ lib {
, asn1crypto lib,
, buildPythonPackage asn1crypto,
, certifi buildPythonPackage,
, cffi certifi,
, charset-normalizer cffi,
, cython charset-normalizer,
, fetchPypi cython,
, filelock fetchPypi,
, idna filelock,
, keyring idna,
, oscrypto keyring,
, packaging oscrypto,
, pandas packaging,
, platformdirs pandas,
, pyarrow platformdirs,
, pycryptodomex pyarrow,
, pyjwt pycryptodomex,
, pyopenssl pyjwt,
, pythonOlder pyopenssl,
, pythonRelaxDepsHook pythonOlder,
, pytz pythonRelaxDepsHook,
, requests pytz,
, setuptools requests,
, sortedcontainers setuptools,
, tomlkit sortedcontainers,
, typing-extensions tomlkit,
, wheel typing-extensions,
wheel,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -46,9 +47,7 @@ buildPythonPackage rec {
wheel wheel
]; ];
nativeBuildInputs = [ nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDepsHook
];
dependencies = [ dependencies = [
asn1crypto asn1crypto
@ -71,7 +70,10 @@ buildPythonPackage rec {
]; ];
passthru.optional-dependencies = { passthru.optional-dependencies = {
pandas = [ pandas pyarrow ]; pandas = [
pandas
pyarrow
];
secure-local-storage = [ keyring ]; secure-local-storage = [ keyring ];
}; };
@ -91,4 +93,4 @@ buildPythonPackage rec {
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
}; };
} }