1{ buildPythonPackage
2, fetchFromGitHub
3, lib
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "tcolorpy";
9 version = "0.1.3";
10
11 src = fetchFromGitHub {
12 owner = "thombashi";
13 repo = pname;
14 rev = "refs/tags/v${version}";
15 hash = "sha256-NUlDEMvd6l2GJ9tIXC3zo/8Ji7t0oV0GNVP9UF106yo=";
16 };
17
18 nativeCheckInputs = [ pytestCheckHook ];
19
20 meta = with lib; {
21 homepage = "https://github.com/thombashi/tcolorpy";
22 description = "A library to apply true color for terminal text";
23 maintainers = with maintainers; [ genericnerdyusername ];
24 license = licenses.mit;
25 };
26}