a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
42 lines
865 B
Nix
42 lines
865 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, snowflake-connector-python
|
|
, sqlalchemy
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "snowflake-sqlalchemy";
|
|
version = "1.4.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-clUDElZ17xxbrJ+O0oplzVAxL1afWDwdk/g5ZofEhOs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
snowflake-connector-python
|
|
sqlalchemy
|
|
];
|
|
|
|
# Pypi does not include tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"snowflake.sqlalchemy"
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/snowflakedb/snowflake-sqlalchemy/blob/v${version}/DESCRIPTION.md";
|
|
description = "Snowflake SQLAlchemy Dialect";
|
|
homepage = "https://github.com/snowflakedb/snowflake-sqlalchemy";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|