1{ lib
2, buildPythonPackage
3, cmd2
4, fetchPypi
5, pytestCheckHook
6, pythonOlder
7, setuptools-scm
8}:
9
10buildPythonPackage rec {
11 pname = "cmd2-ext-test";
12 version = "2.0.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-uTc+onurLilwQe0trESR3JGa5WFT1fCt3rRA7rhRpaY=";
20 };
21
22 nativeBuildInputs = [
23 setuptools-scm
24 ];
25
26 propagatedBuildInputs = [
27 cmd2
28 ];
29
30 nativeCheckInputs = [
31 pytestCheckHook
32 ];
33
34 pythonImportsCheck = [
35 "cmd2_ext_test"
36 ];
37
38 meta = with lib; {
39 description = "Plugin supports testing of a cmd2 application";
40 homepage = "https://github.com/python-cmd2/cmd2/tree/master/plugins/ext_test";
41 license = licenses.mit;
42 maintainers = with maintainers; [ fab ];
43 };
44}