python310Packages.knack: add pythonImportsCheck
This commit is contained in:
parent
3807ffe101
commit
c9fa130d03
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue