Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / cmd2-ext-test / default.nix
blob4cdf9ccf8dcd8e94dde428aaf99781bf3e0fd45a
1 { lib
2 , buildPythonPackage
3 , cmd2
4 , fetchPypi
5 , pytestCheckHook
6 , pythonOlder
7 , setuptools-scm
8 }:
10 buildPythonPackage rec {
11   pname = "cmd2-ext-test";
12   version = "2.0.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-uTc+onurLilwQe0trESR3JGa5WFT1fCt3rRA7rhRpaY=";
20   };
22   nativeBuildInputs = [
23     setuptools-scm
24   ];
26   propagatedBuildInputs = [
27     cmd2
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32   ];
34   pythonImportsCheck = [
35     "cmd2_ext_test"
36   ];
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   };