Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sqlite-fts4 / default.nix
blob27a6913020a03a548da964c8fa14ba915095c997
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "sqlite-fts4";
10   version = "1.0.3";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "simonw";
17     repo = pname;
18     rev = "refs/tags/${version}";
19     hash = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "sqlite_fts4"
28   ];
30   meta = with lib; {
31     description = "Custom Python functions for working with SQLite FTS4";
32     homepage = "https://github.com/simonw/sqlite-fts4";
33     license = licenses.asl20;
34     maintainers = with maintainers; [ meatcar ];
35   };