python312Packages.sqlglot: 25.20.1 -> 26.16.2
Diff: https://github.com/tobymao/sqlglot/compare/refs/tags/v25.20.1...refs/tags/v26.16.2 Changelog: https://github.com/tobymao/sqlglot/blob/v26.16.2/CHANGELOG.md
This commit is contained in:
@@ -1,35 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
duckdb,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
|
||||
# dependencies
|
||||
python-dateutil,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
duckdb,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlglot";
|
||||
version = "25.20.1";
|
||||
version = "26.16.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "sqlglot";
|
||||
owner = "tobymao";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-RE9Hbb3g6j4j5X2ksjcBZ610RcV7Zd3YaKaBIUyD2vU=";
|
||||
hash = "sha256-uX72AHr4IC+u5AYkW/3myruVPs5NZ1V3THVg+9GWxpg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
# Optional dependency used in the sqlglot optimizer
|
||||
python-dateutil
|
||||
];
|
||||
@@ -41,11 +44,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "sqlglot" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "No dependency Python SQL parser, transpiler, and optimizer";
|
||||
homepage = "https://github.com/tobymao/sqlglot";
|
||||
changelog = "https://github.com/tobymao/sqlglot/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cpcloud ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ cpcloud ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user