python3Packages.snowflake-core: init at 1.4.0

This commit is contained in:
Vladimir Timofeenko
2025-06-18 10:17:28 -07:00
parent 54f1b8da9c
commit 9435c037d3
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
{
lib,
buildPythonPackage,
pydantic,
python-dateutil,
requests,
snowflake-connector-python,
pyyaml,
urllib3,
fetchPypi,
pythonOlder,
hatchling,
}:
buildPythonPackage rec {
pname = "snowflake-core";
version = "1.4.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "snowflake_core";
inherit version;
hash = "sha256-3BzO3s5BtS/cuF+JwKuAG8Usca5oo79ffp33TXUP5E8=";
};
build-system = [ hatchling ];
dependencies = [
pydantic
python-dateutil
pyyaml
requests
snowflake-connector-python
urllib3
];
pythonRelaxDeps = [
"pyopenssl"
];
# Tests require access to Snowflake
doCheck = false;
pythonImportsCheck = [
"snowflake.core"
];
meta = {
description = "Subpackage providing Python access to Snowflake entity metadata.";
homepage = "https://pypi.org/project/snowflake.core";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.vtimofeenko ];
};
}

View File

@@ -16436,6 +16436,8 @@ self: super: with self; {
callPackage ../development/python-modules/snowflake-connector-python
{ };
snowflake-core = callPackage ../development/python-modules/snowflake-core { };
snowflake-sqlalchemy = callPackage ../development/python-modules/snowflake-sqlalchemy { };
snowplow-tracker = callPackage ../development/python-modules/snowplow-tracker { };