{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, }: buildPythonPackage rec { pname = "colorful"; version = "0.5.8"; format = "setuptools"; src = fetchFromGitHub { owner = "timofurrer"; repo = "colorful"; tag = "v${version}"; hash = "sha256-nztVTfBimRDXwPYk3LNMZKa1ItbgqM2ukgZs8hI8TwE="; }; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "colorful" ]; meta = { description = "Library for terminal string styling"; homepage = "https://github.com/timofurrer/colorful"; changelog = "https://github.com/timofurrer/colorful/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ kalbasit l33tname ]; }; }