python310Packages.cmd2-ext-test: init at 2.0.0

This commit is contained in:
Fabian Affolter 2023-03-01 16:01:22 +01:00
parent 228db2134f
commit 3fb3639de5
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, cmd2
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "cmd2-ext-test";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-uTc+onurLilwQe0trESR3JGa5WFT1fCt3rRA7rhRpaY=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
cmd2
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"cmd2_ext_test"
];
meta = with lib; {
description = "Plugin supports testing of a cmd2 application";
homepage = "https://github.com/python-cmd2/cmd2/tree/master/plugins/ext_test";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1893,6 +1893,8 @@ self: super: with self; {
cmd2 = callPackage ../development/python-modules/cmd2 { };
cmd2-ext-test = callPackage ../development/python-modules/cmd2-ext-test { };
cmdline = callPackage ../development/python-modules/cmdline { };
cmigemo = callPackage ../development/python-modules/cmigemo {