1{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
2
3buildPythonPackage rec {
4 pname = "ansiconv";
5 version = "1.0.0";
6
7 src = fetchFromGitHub {
8 owner = "ansible";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "0ljfpl8x069arzginvpi1v6hlaq4x2qpjqj01qds2ylz33scq8r4";
12 };
13
14 nativeCheckInputs = [ pytest ];
15
16 meta = with lib; {
17 description = "A module for converting ANSI coded text and converts it to either plain text or HTML";
18 homepage = "https://github.com/ansible/ansiconv";
19 license = licenses.mit;
20 maintainers = with maintainers; [ psyanticy ];
21 };
22
23}