sqlite-utils: repair, add test
This commit is contained in:
parent
cb8e68fd59
commit
0db4de6899
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue