Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, lib 3, fetchPypi 4, sqlalchemy 5, snowflake-connector-python 6}: 7 8buildPythonPackage rec { 9 pname = "snowflake-sqlalchemy"; 10 version = "1.2.3"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "2c598ef37623ef4d035a827f1e84725b3239a47f4366417d089de88f72fc4ac9"; 15 }; 16 17 propagatedBuildInputs = [ 18 sqlalchemy 19 snowflake-connector-python 20 ]; 21 22 pythonImportsCheck = [ "snowflake.sqlalchemy" ]; 23 24 meta = with lib; { 25 description = "Snowflake SQLAlchemy Dialect"; 26 homepage = "https://www.snowflake.net/"; 27 license = licenses.asl20; 28 }; 29}