python39Packages.snowflake-sqlalchemy: disabled on older Python releases
This commit is contained in:
parent
40b8cd6d37
commit
9982deb565
1 changed files with 12 additions and 5 deletions
|
@ -1,18 +1,22 @@
|
|||
{ buildPythonPackage
|
||||
, lib
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, snowflake-connector-python
|
||||
, sqlalchemy
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "snowflake-sqlalchemy";
|
||||
version = "1.4.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-zKWDQSd8G1H+EFMYHHSVyAtJNxZ6+z1rkESi5dsVpVc=";
|
||||
hash = "sha256-zKWDQSd8G1H+EFMYHHSVyAtJNxZ6+z1rkESi5dsVpVc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -23,11 +27,14 @@ buildPythonPackage rec {
|
|||
|
||||
# Pypi does not include tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "snowflake.sqlalchemy" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"snowflake.sqlalchemy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Snowflake SQLAlchemy Dialect";
|
||||
homepage = "https://www.snowflake.net/";
|
||||
homepage = "https://github.com/snowflakedb/snowflake-sqlalchemy";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue