Loading pkgs/development/python-modules/sqlglot/default.nix +16 −13 Original line number Diff line number Diff line { 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 ]; Loading @@ -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 ]; }; } Loading
pkgs/development/python-modules/sqlglot/default.nix +16 −13 Original line number Diff line number Diff line { 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 ]; Loading @@ -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 ]; }; }