1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "sqlite-fts4"; 11 version = "1.0.3"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "simonw"; 18 repo = "sqlite-fts4"; 19 tag = version; 20 hash = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU="; 21 }; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "sqlite_fts4" ]; 26 27 meta = with lib; { 28 description = "Custom Python functions for working with SQLite FTS4"; 29 homepage = "https://github.com/simonw/sqlite-fts4"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ meatcar ]; 32 }; 33}