summary refs log tree commit diff
path: root/pkgs/development/python-modules/sqlite-fts4/default.nix
blob: 4342eb6e206a390a28606180f3b212cab466d06c (plain) (blame)
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
31
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "sqlite-fts4";
  version = "1.0.1";
  disabled = !isPy3k;

  src = fetchFromGitHub {
    owner = "simonw";
    repo = pname;
    rev = version;
    sha256 = "15r1mijk306fpm61viry5wjhqyxlbqqdk4nfcd901qarx7vqypgy";
  };

  checkInputs = [
    pytestCheckHook
  ];

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

}