mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
42 lines
762 B
Nix
42 lines
762 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, snowflake-connector-python
|
|
, sqlalchemy
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "snowflake-sqlalchemy";
|
|
version = "1.4.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sBnkztxqTz7MQ0eYvkAvYWPojxBy6ek1qZxMppLTTM4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
snowflake-connector-python
|
|
sqlalchemy
|
|
];
|
|
|
|
# Pypi does not include tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"snowflake.sqlalchemy"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Snowflake SQLAlchemy Dialect";
|
|
homepage = "https://github.com/snowflakedb/snowflake-sqlalchemy";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|