1{ buildPythonPackage 2, fetchFromGitHub 3, lib 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "tcolorpy"; 9 version = "0.1.4"; 10 11 src = fetchFromGitHub { 12 owner = "thombashi"; 13 repo = pname; 14 rev = "refs/tags/v${version}"; 15 hash = "sha256-cCdKeixRfXkvEGBqozMWw2RjliLdzhlMv8GE2Q40LZQ="; 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}