Something went wrong. Try again.
lol
Something went wrong. Try again.
760 B · 36 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, colorama,}:
buildPythonPackage rec { pname = "ansimarkup"; version = "2.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "gvalkov"; repo = "python-ansimarkup"; tag = "v${version}"; hash = "sha256-+kZt8tv09RHrMRZtvJPBBiFaeCksXyrlHqIabPrXYDY="; };
build-system = [ setuptools ];
dependencies = [ colorama ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ansimarkup" ];
meta = { description = "XML-like markup for producing colored terminal text"; homepage = "https://github.com/gvalkov/python-ansimarkup"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ cpcloud ]; };}