1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 unittestCheckHook, 7}: 8 9buildPythonPackage rec { 10 version = "0.2.6"; 11 pname = "python-lzf"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "teepark"; 16 repo = "python-lzf"; 17 tag = "release-${version}"; 18 hash = "sha256-n5E75kRqe0dDbyFicoyLBAVi/SuoUU7qJka3viipQk8="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ unittestCheckHook ]; 24 25 meta = with lib; { 26 description = "Liblzf python bindings"; 27 homepage = "https://github.com/teepark/python-lzf"; 28 license = licenses.mit; 29 platforms = platforms.unix; 30 }; 31}