2018-06-08 13:28:43 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ansiconv";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ansible";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0ljfpl8x069arzginvpi1v6hlaq4x2qpjqj01qds2ylz33scq8r4";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A module for converting ANSI coded text and converts it to either plain text or HTML";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ansible/ansiconv";
|
2018-06-08 13:28:43 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|