fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
48 lines
963 B
Nix
48 lines
963 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
click,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
rich,
|
|
setuptools,
|
|
typer,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rich-click";
|
|
version = "1.8.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ewels";
|
|
repo = "rich-click";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-O7ZV6+p0nvWmKHUy/aK+qcED/KT4hZojoQRKr9Eg848=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
click
|
|
rich
|
|
typing-extensions
|
|
];
|
|
|
|
# Module has no test
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "rich_click" ];
|
|
|
|
meta = with lib; {
|
|
description = "Module to format click help output nicely with rich";
|
|
homepage = "https://github.com/ewels/rich-click";
|
|
changelog = "https://github.com/ewels/rich-click/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "rich-click";
|
|
};
|
|
}
|