1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "unicodedata2"; 11 version = "15.1.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit version pname; 18 hash = "sha256-yzDxia1mSC+FKaRdpxsqiEHpvSuzdswpMwA6SlWgdkg="; 19 }; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "unicodedata2" ]; 24 25 meta = with lib; { 26 description = "Backport and updates for the unicodedata module"; 27 homepage = "https://github.com/mikekap/unicodedata2"; 28 changelog = "https://github.com/fonttools/unicodedata2/releases/tag/${version}"; 29 license = licenses.asl20; 30 maintainers = with maintainers; [ sternenseemann ]; 31 }; 32}