python313Packages.clickhouse-cityhash: fix build for Python 3.13
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
fetchPypi,
|
||||
fetchpatch,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
@@ -24,6 +25,15 @@ buildPythonPackage rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Cython 3.1 removed long() function.
|
||||
# https://github.com/xzkostyan/clickhouse-cityhash/pull/6
|
||||
url = "https://github.com/thevar1able/clickhouse-cityhash/commit/1109fc80e24cb44ec9ee2885e1e5cce7141c7ad8.patch";
|
||||
hash = "sha256-DcmASvDK160IokC5OuZoXpAHKbBOReGs96SU7yW9Ncc=";
|
||||
})
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "clickhouse_cityhash" ];
|
||||
|
||||
Reference in New Issue
Block a user