Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "tcolorpy"; 10 version = "0.1.4"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "thombashi"; 15 repo = pname; 16 rev = "refs/tags/v${version}"; 17 hash = "sha256-cCdKeixRfXkvEGBqozMWw2RjliLdzhlMv8GE2Q40LZQ="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 meta = with lib; { 23 homepage = "https://github.com/thombashi/tcolorpy"; 24 description = "Library to apply true color for terminal text"; 25 maintainers = with maintainers; [ genericnerdyusername ]; 26 license = licenses.mit; 27 }; 28}