From 807388a21d33d0b4cedf0c86ca83c9209825eec6 Mon Sep 17 00:00:00 2001 From: Harinn Date: Wed, 15 Jul 2026 12:26:26 +0700 Subject: [PATCH] python3Packages.clickhouse-driver: migrate to pyproject --- .../python-modules/clickhouse-driver/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/clickhouse-driver/default.nix b/pkgs/development/python-modules/clickhouse-driver/default.nix index d19aac86de6f..f625c0989d9d 100644 --- a/pkgs/development/python-modules/clickhouse-driver/default.nix +++ b/pkgs/development/python-modules/clickhouse-driver/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "clickhouse-driver"; version = "0.2.10"; - format = "setuptools"; + pyproject = true; # pypi source doesn't contain tests src = fetchFromGitHub { @@ -28,12 +28,15 @@ buildPythonPackage rec { hash = "sha256-veFkmXAp8b6/Npt7f1EhMfM9OKlLugKtlXS+zMHWAro="; }; - nativeBuildInputs = [ - cython + build-system = [ setuptools ]; - propagatedBuildInputs = [ + nativeBuildInputs = [ + cython + ]; + + dependencies = [ clickhouse-cityhash lz4 pytz