From 08bdeab5c0ff1967f325e8b88367459ee6e50796 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 15 Apr 2022 09:49:44 +0200 Subject: [PATCH] python3Packages.sqlite-utils: add pythonImportsCheck --- pkgs/development/python-modules/sqlite-utils/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sqlite-utils/default.nix b/pkgs/development/python-modules/sqlite-utils/default.nix index ab31ac605346..b3621802a097 100644 --- a/pkgs/development/python-modules/sqlite-utils/default.nix +++ b/pkgs/development/python-modules/sqlite-utils/default.nix @@ -15,11 +15,13 @@ buildPythonPackage rec { pname = "sqlite-utils"; version = "3.26"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-G2Fy9PEYtq0dIWhsgV4HZa5y+wLxcI3CYSgDL6ijkdo="; + hash = "sha256-G2Fy9PEYtq0dIWhsgV4HZa5y+wLxcI3CYSgDL6ijkdo="; }; propagatedBuildInputs = [ @@ -35,6 +37,10 @@ buildPythonPackage rec { hypothesis ]; + pythonImportsCheck = [ + "sqlite_utils" + ]; + meta = with lib; { description = "Python CLI utility and library for manipulating SQLite databases"; homepage = "https://github.com/simonw/sqlite-utils";