Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 36 lines 714 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "clickhouse-cityhash"; 10 version = "1.0.2.4"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-ezEl19CqE8LMTnWDqWWmv7CqlqEhMUdbRCVSustV9Pg="; 18 }; 19 20 propagatedBuildInputs = [ 21 setuptools 22 ]; 23 24 doCheck = false; 25 26 pythonImportsCheck = [ 27 "clickhouse_cityhash" 28 ]; 29 30 meta = with lib; { 31 description = "Python-bindings for CityHash, a fast non-cryptographic hash algorithm"; 32 homepage = "https://github.com/xzkostyan/python-cityhash"; 33 license = licenses.upl; 34 maintainers = with maintainers; [ breakds ]; 35 }; 36}