Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / snowflake-sqlalchemy / default.nix
blobd8857b971a31afe4ec534cb6fabc78bef5b63a1a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , six
5 , snowflake-connector-python
6 , sqlalchemy
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "snowflake-sqlalchemy";
12   version = "1.5.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-TxODQC/8iTEZdL2BDe4iADrvSvDzEqD9tVd4MzrRq/c=";
20   };
22   propagatedBuildInputs = [
23     six
24     snowflake-connector-python
25     sqlalchemy
26   ];
28   # Pypi does not include tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "snowflake.sqlalchemy"
33   ];
35   meta = with lib; {
36     changelog = "https://github.com/snowflakedb/snowflake-sqlalchemy/blob/v${version}/DESCRIPTION.md";
37     description = "Snowflake SQLAlchemy Dialect";
38     homepage = "https://github.com/snowflakedb/snowflake-sqlalchemy";
39     license = licenses.asl20;
40     maintainers = [ ];
42     # https://github.com/snowflakedb/snowflake-sqlalchemy/issues/380
43     broken = versionAtLeast sqlalchemy.version "2";
44   };