btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / development / python-modules / sqlite-fts4 / default.nix
blob1d7af05a78e3367fb742fcd0fee42ce505636b83
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "sqlite-fts4";
11   version = "1.0.3";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "simonw";
18     repo = pname;
19     rev = "refs/tags/${version}";
20     hash = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "sqlite_fts4" ];
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   };