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