1{ lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, nose, setuptools }:
2
3buildPythonPackage rec {
4 pname = "ansi2html";
5 version = "1.5.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1a9vihsvd03hb0a4dbiklyy686adp9q2ipl79mkxmdr6gfp8bbln";
10 };
11
12 propagatedBuildInputs = [ six setuptools ];
13
14 checkInputs = [ mock nose ];
15
16 meta = with lib; {
17 description = "Convert text with ANSI color codes to HTML";
18 homepage = https://github.com/ralphbean/ansi2html;
19 license = licenses.lgpl3Plus;
20 maintainers = with maintainers; [ davidtwco ];
21 platforms = platforms.all;
22 };
23}