summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sqlite-fts4/default.nix
blob: c217544ea38344e97b10f12fc7fa967819f480ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "sqlite-fts4";
  version = "1.0.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "simonw";
    repo = "sqlite-fts4";
    tag = version;
    hash = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "sqlite_fts4" ];

  meta = {
    description = "Custom Python functions for working with SQLite FTS4";
    homepage = "https://github.com/simonw/sqlite-fts4";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ meatcar ];
  };
}