8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
24 lines
601 B
Nix
24 lines
601 B
Nix
{ 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";
|
|
homepage = "https://github.com/ansible/ansiconv";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
};
|
|
|
|
}
|
|
|