1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "unicodedata2"; 11 version = "16.0.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit version pname; 18 sha256 = "05488d6592b59cd78b61ec37d38725416b2df62efafa6a0d63a631b27aa474fc"; 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}