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