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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";