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