depot/third_party/nixpkgs/pkgs/development/python-modules/rich-theme-manager/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

34 lines
789 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
rich,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "rich-theme-manager";
version = "0.11.0";
pyproject = true;
src = fetchFromGitHub {
owner = "RhetTbull";
repo = "rich_theme_manager";
rev = "refs/tags/v${version}";
hash = "sha256-nSNG+lWOPmh66I9EmPvWqbeceY/cu+zBpgVlDTNuHc0=";
};
build-system = [ poetry-core ];
dependencies = [ rich ];
pythonImportsCheck = [ "rich_theme_manager" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Define custom styles and themes for use with rich";
license = lib.licenses.mit;
homepage = "https://github.com/RhetTbull/rich_theme_manager";
maintainers = with lib.maintainers; [ sigmanificient ];
};
}