1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 rich,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "rich-theme-manager";
12 version = "0.11.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "RhetTbull";
17 repo = "rich_theme_manager";
18 tag = "v${version}";
19 hash = "sha256-nSNG+lWOPmh66I9EmPvWqbeceY/cu+zBpgVlDTNuHc0=";
20 };
21
22 build-system = [ poetry-core ];
23 dependencies = [ rich ];
24
25 pythonImportsCheck = [ "rich_theme_manager" ];
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 meta = {
29 description = "Define custom styles and themes for use with rich";
30 license = lib.licenses.mit;
31 homepage = "https://github.com/RhetTbull/rich_theme_manager";
32 maintainers = with lib.maintainers; [ sigmanificient ];
33 };
34}