075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
41 lines
751 B
Nix
41 lines
751 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
setuptools-scm,
|
|
wheel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ansi2html";
|
|
version = "1.9.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-NFO/h1NdN7gnsFJF+qp1bbq07D1pkl41K2MZw8lVwKU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
wheel
|
|
];
|
|
|
|
preCheck = "export PATH=$PATH:$out/bin";
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "ansi2html" ];
|
|
|
|
meta = {
|
|
description = "Convert text with ANSI color codes to HTML";
|
|
mainProgram = "ansi2html";
|
|
homepage = "https://github.com/ralphbean/ansi2html";
|
|
license = lib.licenses.lgpl3Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|