10 buildPythonPackage rec {
11 pname = "click-option-group";
13 format = "setuptools";
14 disabled = pythonOlder "3.6";
16 src = fetchFromGitHub {
17 owner = "click-contrib";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-uR5rIZPPT6pRk/jJEy2rZciOXrHWVWN6BfGroQ3znas=";
23 propagatedBuildInputs = [ click ];
25 nativeCheckInputs = [ pytestCheckHook ];
27 pythonImportsCheck = [ "click_option_group" ];
30 description = "Option groups missing in Click";
32 Option groups are convenient mechanism for logical structuring
33 CLI, also it allows you to set the specific behavior and set the
34 relationship among grouped options (mutually exclusive options
35 for example). Moreover, argparse stdlib package contains this
36 functionality out of the box.
38 homepage = "https://github.com/click-contrib/click-option-group";
39 license = licenses.bsd3;
40 maintainers = with maintainers; [ hexa ];