11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
19 owner = "helviojunior";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-1sPEEWcOzesLQXSeMsUra8ZRSMAKzH6iisOgdhpxhKM=";
25 propagatedBuildInputs = [
30 nativeCheckInputs = [ pytestCheckHook ];
32 pythonImportsCheck = [ "ansi2image" ];
34 pytestFlagsArray = [ "tests/tests.py" ];
37 description = "Module to convert ANSI text to an image";
38 mainProgram = "ansi2image";
39 homepage = "https://github.com/helviojunior/ansi2image";
40 changelog = "https://github.com/helviojunior/ansi2image/blob/${version}/CHANGELOG";
41 license = licenses.gpl3Only;
42 maintainers = with maintainers; [ fab ];