python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / snowflake-sqlalchemy / default.nix
blob3e94b4c31d3c4c9e3df913cb579b13bfe66af2ea
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   six,
6   snowflake-connector-python,
7   sqlalchemy,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "snowflake-sqlalchemy";
13   version = "1.6.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-eSzekowNHTBxS4iwQE3oHtKXp3RcvMJT3NqXP2V1k4I=";
21   };
23   propagatedBuildInputs = [
24     six
25     snowflake-connector-python
26     sqlalchemy
27   ];
29   # Pypi does not include tests
30   doCheck = false;
32   pythonImportsCheck = [ "snowflake.sqlalchemy" ];
34   meta = with lib; {
35     changelog = "https://github.com/snowflakedb/snowflake-sqlalchemy/blob/v${version}/DESCRIPTION.md";
36     description = "Snowflake SQLAlchemy Dialect";
37     homepage = "https://github.com/snowflakedb/snowflake-sqlalchemy";
38     license = licenses.asl20;
39     maintainers = [ ];
41     # https://github.com/snowflakedb/snowflake-sqlalchemy/issues/380
42     broken = versionAtLeast sqlalchemy.version "2";
43   };