1{
2 lib,
3 buildPythonPackage,
4 cython,
5 fetchPypi,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "clickhouse-cityhash";
12 version = "1.0.2.4";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg=";
20 };
21
22 nativeBuildInputs = [
23 cython
24 setuptools
25 ];
26
27 doCheck = false;
28
29 pythonImportsCheck = [ "clickhouse_cityhash" ];
30
31 meta = with lib; {
32 description = "Python-bindings for CityHash, a fast non-cryptographic hash algorithm";
33 homepage = "https://github.com/xzkostyan/python-cityhash";
34 license = licenses.upl;
35 maintainers = with maintainers; [ breakds ];
36 };
37}