mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
python3Packages.snowflake-core: init at 1.4.0
This commit is contained in:
56
pkgs/development/python-modules/snowflake-core/default.nix
Normal file
56
pkgs/development/python-modules/snowflake-core/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user