python310Packages.sqlite-fts4: add pythonImportsCheck

- update disabled
This commit is contained in:
Fabian Affolter 2022-08-20 16:05:58 +02:00 committed by GitHub
parent fcb99b4efa
commit c9aaee902c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,31 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "sqlite-fts4";
version = "1.0.3";
disabled = !isPy3k;
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "simonw";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU=";
hash = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"sqlite_fts4"
];
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 ];
};
}