depot/third_party/nixpkgs/pkgs/development/python-modules/ansiconv/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
625 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest,
}:
buildPythonPackage rec {
pname = "ansiconv";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "ansible";
repo = pname;
rev = "v${version}";
sha256 = "0ljfpl8x069arzginvpi1v6hlaq4x2qpjqj01qds2ylz33scq8r4";
};
nativeCheckInputs = [ pytest ];
meta = with lib; {
description = "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 ];
};
}