1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5}: 6 7buildPythonPackage rec { 8 version = "3.3.0"; 9 pname = "xxhash"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-w/njIrHr7r1E49nS2bEk4MVQwe9BvVUq/c3XGVFu5Bo="; 14 }; 15 16 nativeBuildInputs = [ 17 setuptools-scm 18 ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/ifduyue/python-xxhash"; 22 description = "Python Binding for xxHash https://pypi.org/project/xxhash/"; 23 license = licenses.bsd2; 24 maintainers = [ maintainers.teh ]; 25 }; 26}