at master 749 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pytestCheckHook, 6 setuptools, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "tcolorpy"; 12 version = "0.1.7"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "thombashi"; 17 repo = "tcolorpy"; 18 tag = "v${version}"; 19 hash = "sha256-0AXpwRQgBisO4360J+Xd4+EWzDtDJ64UpSUmDnSYjKE="; 20 }; 21 22 build-system = [ 23 setuptools 24 setuptools-scm 25 ]; 26 27 pythonImportsCheck = [ "tcolorpy" ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 meta = with lib; { 32 homepage = "https://github.com/thombashi/tcolorpy"; 33 description = "Library to apply true color for terminal text"; 34 maintainers = with maintainers; [ genericnerdyusername ]; 35 license = licenses.mit; 36 }; 37}