depot/third_party/nixpkgs/pkgs/development/python-modules/snowflake-sqlalchemy/default.nix
Default email 686ce24904 Project import generated by Copybara.
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
2023-02-16 18:41:37 +01:00

42 lines
865 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, snowflake-connector-python
, sqlalchemy
, pythonOlder
}:
buildPythonPackage rec {
pname = "snowflake-sqlalchemy";
version = "1.4.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-xkx8QlabOCodqj4tRYxpln0z+HHVwYdqlXkaitzmKx8=";
};
propagatedBuildInputs = [
six
snowflake-connector-python
sqlalchemy
];
# Pypi does not include tests
doCheck = false;
pythonImportsCheck = [
"snowflake.sqlalchemy"
];
meta = with lib; {
changelog = "https://github.com/snowflakedb/snowflake-sqlalchemy/blob/v${version}/DESCRIPTION.md";
description = "Snowflake SQLAlchemy Dialect";
homepage = "https://github.com/snowflakedb/snowflake-sqlalchemy";
license = licenses.asl20;
maintainers = [ ];
};
}