diff options
Diffstat (limited to 'pkgs/development/python-modules/rich-argparse/default.nix')
-rw-r--r-- | pkgs/development/python-modules/rich-argparse/default.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/rich-argparse/default.nix b/pkgs/development/python-modules/rich-argparse/default.nix index 459c5db23f99a..69d657d9b15c7 100644 --- a/pkgs/development/python-modules/rich-argparse/default.nix +++ b/pkgs/development/python-modules/rich-argparse/default.nix @@ -3,33 +3,35 @@ buildPythonPackage, fetchFromGitHub, hatchling, - rich, pytestCheckHook, + pythonOlder, + rich, }: buildPythonPackage rec { pname = "rich-argparse"; - version = "1.4.0"; - format = "pyproject"; + version = "1.5.1"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "hamdanal"; repo = "rich-argparse"; rev = "refs/tags/v${version}"; - hash = "sha256-iQ8x8UM0zmb2qYUpSh6RSEaBMrDpwY0ZHaJ9GJqn4Hs="; + hash = "sha256-NcsEGImUAqwZI6Ga3UIqnoELvz6WRKyVqGkR4jPIKPI="; }; - propagatedBuildInputs = [ - hatchling - rich - ]; + build-system = [ hatchling ]; + + dependencies = [ rich ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "rich_argparse" ]; meta = with lib; { - description = "Format argparse help output using rich."; + description = "Format argparse help output using rich"; homepage = "https://github.com/hamdanal/rich-argparse"; changelog = "https://github.com/hamdanal/rich-argparse/blob/v${version}/CHANGELOG.md"; license = licenses.mit; |