summary refs log tree commit diff
path: root/pkgs/development/python-modules/ansiconv/default.nix
blob: ba0c06f536aa9bf5d6b97ae83661009a5ef4b0bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, 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 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 ];
  };

}