11 buildPythonPackage rec {
12 pname = "rich-argparse-plus";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
19 owner = "michelcrypt4d4mus";
20 repo = "rich-argparse-plus";
22 hash = "sha256-oF2wuvyLYwObVJ4fhJl9b/sdfmQ2ahgKkfd9ZwObfPw=";
25 nativeBuildInputs = [ flit-core ];
27 propagatedBuildInputs = [ rich ];
29 nativeCheckInputs = [ pytestCheckHook ];
31 pythonImportsCheck = [ "rich_argparse_plus" ];
34 # Tests are comparing CLI output
36 "test_actions_spans_in_usage"
37 "test_boolean_optional_action_spans"
38 "test_usage_spans_errors"
39 "test_text_highlighter"
40 "test_default_highlights"
44 description = "Library to help formatting argparse";
45 homepage = "https://github.com/michelcrypt4d4mus/rich-argparse-plus";
46 changelog = "https://github.com/michelcrypt4d4mus/rich-argparse-plus/blob/${version}/CHANGELOG.md";
47 license = licenses.mit;
48 maintainers = with maintainers; [ fab ];