1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "uc-micro-py"; 12 version = "1.0.3"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "tsutsu3"; 19 repo = "uc.micro-py"; 20 tag = "v${version}"; 21 hash = "sha256-Z7XHWeV5I/y19EKg4lzcl9pwRexWnSQ7d8CpQu5xdnI="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 pythonImportsCheck = [ "uc_micro" ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "Micro subset of unicode data files for linkify-it-py"; 32 homepage = "https://github.com/tsutsu3/uc.micro-py"; 33 license = licenses.mit; 34 maintainers = [ ]; 35 }; 36}