From 40b8cd6d3788a8558c5f9095984763a6f792c72d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 29 Sep 2022 04:11:53 +0000 Subject: [PATCH 1/2] python39Packages.snowflake-sqlalchemy: 1.4.1 -> 1.4.2 --- .../python-modules/snowflake-sqlalchemy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix index 84009008e9af..9d600252fb67 100644 --- a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix +++ b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix @@ -8,11 +8,11 @@ buildPythonPackage rec { pname = "snowflake-sqlalchemy"; - version = "1.4.1"; + version = "1.4.2"; src = fetchPypi { inherit pname version; - sha256 = "sha256-dJK1biZ6rEpS4kTncfJzHjBLktDZSsqvSGekbmfhves="; + sha256 = "sha256-zKWDQSd8G1H+EFMYHHSVyAtJNxZ6+z1rkESi5dsVpVc="; }; propagatedBuildInputs = [ From 9982deb565cc56100576fccd7b7a48daaaad9c27 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 29 Sep 2022 09:06:35 +0200 Subject: [PATCH 2/2] python39Packages.snowflake-sqlalchemy: disabled on older Python releases --- .../snowflake-sqlalchemy/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix index 9d600252fb67..33824e9f0247 100644 --- a/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix +++ b/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix @@ -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 = [ ]; };