From e8994657b46a505c0666775f7dfdab80c8a8bd3d Mon Sep 17 00:00:00 2001 From: Sebastien Iooss Date: Thu, 7 Mar 2024 10:53:02 +0100 Subject: [PATCH] python312Packages.clickhouse-cityhash: fix build for python 3.12 --- .../python-modules/clickhouse-cityhash/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/clickhouse-cityhash/default.nix b/pkgs/development/python-modules/clickhouse-cityhash/default.nix index 770d4e76fb72..d8fad65bef0d 100644 --- a/pkgs/development/python-modules/clickhouse-cityhash/default.nix +++ b/pkgs/development/python-modules/clickhouse-cityhash/default.nix @@ -1,14 +1,15 @@ { lib , buildPythonPackage +, cython_3 , fetchPypi -, setuptools , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "clickhouse-cityhash"; version = "1.0.2.4"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -17,7 +18,8 @@ buildPythonPackage rec { hash = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg="; }; - propagatedBuildInputs = [ + nativeBuildInputs = [ + cython_3 setuptools ];