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