nixos/doh-server: init
[NixPkgs.git] / pkgs / development / python-modules / cmd2-ext-test / default.nix
blob3f061b7449be4d06f624afd036ec10c741cb65b6
2   lib,
3   buildPythonPackage,
4   cmd2,
5   fetchPypi,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools-scm,
9 }:
11 buildPythonPackage rec {
12   pname = "cmd2-ext-test";
13   version = "2.0.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-uTc+onurLilwQe0trESR3JGa5WFT1fCt3rRA7rhRpaY=";
21   };
23   nativeBuildInputs = [ setuptools-scm ];
25   propagatedBuildInputs = [ cmd2 ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   pythonImportsCheck = [ "cmd2_ext_test" ];
31   meta = with lib; {
32     description = "Plugin supports testing of a cmd2 application";
33     homepage = "https://github.com/python-cmd2/cmd2/tree/master/plugins/ext_test";
34     license = licenses.mit;
35     maintainers = with maintainers; [ fab ];
36   };