python310Packages.knack: add pythonImportsCheck

This commit is contained in:
Fabian Affolter
2022-12-08 00:54:52 +01:00
committed by GitHub
parent 3807ffe101
commit c9fa130d03

View File

@@ -11,11 +11,15 @@
, mock
, vcrpy
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "knack";
version = "0.10.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@@ -42,6 +46,10 @@ buildPythonPackage rec {
HOME=$TMPDIR pytest .
'';
pythonImportsCheck = [
"knack"
];
meta = with lib; {
homepage = "https://github.com/microsoft/knack";
description = "A Command-Line Interface framework";