Merge pull request #138946 from fabaff/cm2-ext

python3Packages.cmd2-ext-test: init at 2.0.0
This commit is contained in:
Fabian Affolter
2023-03-01 19:12:01 +01:00
committed by GitHub
2 changed files with 46 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -1895,6 +1895,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 {