1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 marisa-trie, 6 pythonOlder, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "language-data"; 12 version = "1.3.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchFromGitHub { 18 owner = "georgkrause"; 19 repo = "language_data"; 20 tag = "v${version}"; 21 hash = "sha256-qHPie07GtVPKP/PFlP72XVVrl6j+5A8fIO729aPRsrc="; 22 }; 23 24 build-system = [ setuptools-scm ]; 25 26 dependencies = [ marisa-trie ]; 27 28 pythonImportsCheck = [ "language_data" ]; 29 30 # No unittests 31 doCheck = false; 32 33 meta = with lib; { 34 description = "Supplement module for langcodes"; 35 homepage = "https://github.com/georgkrause/language_data"; 36 changelog = "https://github.com/georgkrause/language_data/releases/tag/v${version}"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}