sqlite-utils: repair, add test

This commit is contained in:
Daniel Nagy 2023-07-29 12:45:00 +02:00
parent cb8e68fd59
commit 0db4de6899
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -8,8 +8,11 @@
, python-dateutil , python-dateutil
, sqlite-fts4 , sqlite-fts4
, tabulate , tabulate
, pluggy
, pytestCheckHook , pytestCheckHook
, hypothesis , hypothesis
, testers
, sqlite-utils
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -35,6 +38,7 @@ buildPythonPackage rec {
python-dateutil python-dateutil
sqlite-fts4 sqlite-fts4
tabulate tabulate
pluggy
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
@ -46,6 +50,10 @@ buildPythonPackage rec {
"sqlite_utils" "sqlite_utils"
]; ];
passthru.tests.version = testers.testVersion {
package = sqlite-utils;
};
meta = with lib; { meta = with lib; {
description = "Python CLI utility and library for manipulating SQLite databases"; description = "Python CLI utility and library for manipulating SQLite databases";
homepage = "https://github.com/simonw/sqlite-utils"; homepage = "https://github.com/simonw/sqlite-utils";