Something went wrong. Try again.
lol
Something went wrong. Try again.
901 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, colorama, fetchFromGitHub, pillow, pytestCheckHook,}:
buildPythonPackage rec { pname = "ansi2image"; version = "0.1.5"; format = "setuptools";
src = fetchFromGitHub { owner = "helviojunior"; repo = "ansi2image"; tag = "v${version}"; hash = "sha256-GWrVo1WJux+ATvG5F9J4WMDlI0XAeTpQg7NrkN1P4Co="; };
propagatedBuildInputs = [ colorama pillow ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ansi2image" ];
enabledTestPaths = [ "tests/tests.py" ];
meta = { description = "Module to convert ANSI text to an image"; mainProgram = "ansi2image"; homepage = "https://github.com/helviojunior/ansi2image"; changelog = "https://github.com/helviojunior/ansi2image/blob/${version}/CHANGELOG"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; };}