blob: 66824e6ccd0f9249caa1a97998c3fb86991c558f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ lib
, buildPythonPackage
, fetchPypi
, six
, snowflake-connector-python
, sqlalchemy
, pythonOlder
}:
buildPythonPackage rec {
pname = "snowflake-sqlalchemy";
version = "1.5.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-eRkew/6/syvP/s1m8qfdVhvVcTRepLzL9BzB+1wGgv8=";
};
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 = [ ];
# https://github.com/snowflakedb/snowflake-sqlalchemy/issues/380
broken = versionAtLeast sqlalchemy.version "2";
};
}
|