python3Packages.ansi2html: fix build and tests
This commit is contained in:
parent
22e2c11cba
commit
33f5ff0189
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, nose, setuptools }:
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, pytestCheckHook, setuptools, setuptools_scm, toml }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ansi2html";
|
pname = "ansi2html";
|
||||||
@ -9,9 +9,13 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596";
|
sha256 = "0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools_scm toml ];
|
||||||
propagatedBuildInputs = [ six setuptools ];
|
propagatedBuildInputs = [ six setuptools ];
|
||||||
|
|
||||||
checkInputs = [ mock nose ];
|
preCheck = "export PATH=$PATH:$out/bin";
|
||||||
|
checkInputs = [ mock pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "ansi2html" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Convert text with ANSI color codes to HTML";
|
description = "Convert text with ANSI color codes to HTML";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user