nixpkgs/pkgs/development/python-modules/clickhouse-cityhash/default.nix
Martin Weinelt 528354e66c
python312Packages.cython: 0.29.36 -> 3.0.9
Folds the cython_3 attribute into the primary cython attribute and
migrates all packages from the versioned attribute.

The old version will be provided through the cython_0 attribute in an
effort to phase it out.
2024-03-27 18:35:05 +01:00

39 lines
725 B
Nix

{ lib
, buildPythonPackage
, cython
, fetchPypi
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "clickhouse-cityhash";
version = "1.0.2.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg=";
};
nativeBuildInputs = [
cython
setuptools
];
doCheck = false;
pythonImportsCheck = [
"clickhouse_cityhash"
];
meta = with lib; {
description = "Python-bindings for CityHash, a fast non-cryptographic hash algorithm";
homepage = "https://github.com/xzkostyan/python-cityhash";
license = licenses.upl;
maintainers = with maintainers; [ breakds ];
};
}