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