From 0db4de6899ee98bf18e3576f3f62f3bbc32b74fe Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Sat, 29 Jul 2023 12:45:00 +0200 Subject: [PATCH] sqlite-utils: repair, add test --- pkgs/development/python-modules/sqlite-utils/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/sqlite-utils/default.nix b/pkgs/development/python-modules/sqlite-utils/default.nix index 2a29fda8daae..c3ad45ec13a6 100644 --- a/pkgs/development/python-modules/sqlite-utils/default.nix +++ b/pkgs/development/python-modules/sqlite-utils/default.nix @@ -8,8 +8,11 @@ , python-dateutil , sqlite-fts4 , tabulate +, pluggy , pytestCheckHook , hypothesis +, testers +, sqlite-utils }: buildPythonPackage rec { @@ -35,6 +38,7 @@ buildPythonPackage rec { python-dateutil sqlite-fts4 tabulate + pluggy ]; nativeCheckInputs = [ @@ -46,6 +50,10 @@ buildPythonPackage rec { "sqlite_utils" ]; + passthru.tests.version = testers.testVersion { + package = sqlite-utils; + }; + meta = with lib; { description = "Python CLI utility and library for manipulating SQLite databases"; homepage = "https://github.com/simonw/sqlite-utils";