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
|
, mock
|
||||||
, vcrpy
|
, vcrpy
|
||||||
, pytest
|
, pytest
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "knack";
|
pname = "knack";
|
||||||
version = "0.10.1";
|
version = "0.10.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -42,6 +46,10 @@ buildPythonPackage rec {
|
||||||
HOME=$TMPDIR pytest .
|
HOME=$TMPDIR pytest .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"knack"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/microsoft/knack";
|
homepage = "https://github.com/microsoft/knack";
|
||||||
description = "A Command-Line Interface framework";
|
description = "A Command-Line Interface framework";
|
||||||
|
|
Loading…
Reference in a new issue