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